{
    "version": "1.3.8",
    "description": "A Clash GUI based on Tauri.",
    "homepage": "https://github.com/zzzgydi/clash-verge",
    "license": "GPL-3.0-only",
    "notes": "zzzgydi/clash-verge has been archived, continue to use 'scoop install extras/clash-verge-rev' instead",
    "architecture": {
        "64bit": {
            "url": "https://github.com/zzzgydi/clash-verge/releases/download/v1.3.8/Clash.Verge_1.3.8_x64_portable.zip",
            "hash": "a7c296228e054930fabdbfd836279d0d3c413b1a08dcaa4604c540bf8905d529"
        }
    },
    "shortcuts": [
        [
            "Clash Verge.exe",
            "Clash Verge"
        ]
    ],
    "persist": ".config",
    "post_install": [
        "if (!(Test-Path \"$persist_dir\\.config\\PORTABLE\")) {",
        "    New-Item -Path \"$persist_dir\\.config\\PORTABLE\" -ItemType file | Out-Null",
        "}"
    ],
    "pre_uninstall": [
        "if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
        "Start-Process \"$dir\\resources\\uninstall-service.exe\" -Wait -Verb 'RunAs' -WindowStyle 'Hidden'; Start-Sleep -Seconds 3"
    ],
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/zzzgydi/clash-verge/releases/download/v$version/Clash.Verge_$version_x64_portable.zip"
            }
        }
    }
}
