From d8927b394ae30bea506a03805672155e6d366789 Mon Sep 17 00:00:00 2001 From: ivaquero Date: Sat, 25 Nov 2023 18:32:37 +0800 Subject: [PATCH] clash-nyanpasu: add 1.4.0 --- bucket/clash-nyanpasu.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bucket/clash-nyanpasu.json diff --git a/bucket/clash-nyanpasu.json b/bucket/clash-nyanpasu.json new file mode 100644 index 000000000..35ffcc66a --- /dev/null +++ b/bucket/clash-nyanpasu.json @@ -0,0 +1,36 @@ +{ + "version": "1.4.0", + "description": "A Clash GUI based on Tauri.", + "homepage": "https://github.com/keiko233/clash-nyanpasu", + "license": "GPL-3.0-only", + "architecture": { + "64bit": { + "url": "https://github.com/keiko233/clash-nyanpasu/releases/download/v1.4.0/Clash.Nyanpasu_1.4.0_x64_portable.zip", + "hash": "a7c296228e054930fabdbfd836279d0d3c413b1a08dcaa4604c540bf8905d529" + } + }, + "shortcuts": [ + [ + "Clash Nyanpasu.exe", + "Clash Nyanpasu" + ] + ], + "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/keiko233/clash-nyanpasu/releases/download/v$version/Clash.Nyanpasu_$version_x64_portable.zip" + } + } + } +}