diff --git a/bucket/clash-verge-rev.json b/bucket/clash-verge-rev.json new file mode 100644 index 000000000..aa1a6b89f --- /dev/null +++ b/bucket/clash-verge-rev.json @@ -0,0 +1,36 @@ +{ + "version": "1.4.0", + "description": "A Clash GUI based on Tauri.", + "homepage": "https://github.com/wonfen/clash-verge-rev", + "license": "GPL-3.0-only", + "architecture": { + "64bit": { + "url": "https://github.com/wonfen/clash-verge-rev/releases/download/v1.4.0/Clash.Verge_1.4.0_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/wonfen/clash-verge-rev/releases/download/v$version/Clash.Verge_$version_x64_portable.zip" + } + } + } +}