{
    "version": "1.9.4",
    "description": "A desktop client that supports for multiple LLM providers.",
    "homepage": "https://cherry-ai.com",
    "license": "Apache-2.0",
    "suggest": {
        "vcredist": "extras/vcredist2022"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/CherryHQ/cherry-studio/releases/download/v1.9.4/Cherry-Studio-1.9.4-x64-portable.exe#/cherry-studio.exe",
            "hash": "b41e391bd5983c357e1633d97423bde40be5362e52a2016a6523e324a38c002b"
        },
        "arm64": {
            "url": "https://github.com/CherryHQ/cherry-studio/releases/download/v1.9.4/Cherry-Studio-1.9.4-arm64-portable.exe#/cherry-studio.exe",
            "hash": "178a560d66949f9e2ca8b4a873999648607ba7b15b39c325bd3221aaaa766f62"
        }
    },
    "pre_install": [
        "if (-not (Test-Path \"$persist_dir\\data\") -and (Test-Path \"$env:APPDATA\\CherryStudio\")) {",
        "    ensure \"$persist_dir\\data\" | Out-Null",
        "    info '[Portable Mode] Copying user data...'",
        "    Move-Item \"$env:APPDATA\\CherryStudio\\*\" \"$persist_dir\\data\"",
        "    Remove-Item \"$env:APPDATA\\CherryStudio\" -Recurse -Force",
        "}"
    ],
    "shortcuts": [
        [
            "cherry-studio.exe",
            "Cherry Studio"
        ]
    ],
    "persist": "data",
    "checkver": {
        "github": "https://github.com/CherryHQ/cherry-studio"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/CherryHQ/cherry-studio/releases/download/v$version/Cherry-Studio-$version-x64-portable.exe#/cherry-studio.exe"
            },
            "arm64": {
                "url": "https://github.com/CherryHQ/cherry-studio/releases/download/v$version/Cherry-Studio-$version-arm64-portable.exe#/cherry-studio.exe"
            }
        }
    }
}
