Skip to content

Commit ad4e5ad

Browse files
committed
sparkle: add 1.6.2
1 parent 9e7631c commit ad4e5ad

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

bucket/sparkle.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "1.6.2",
3+
"description": "Another Mihomo GUI.",
4+
"homepage": "https://github.com/xishang0128/sparkle",
5+
"license": {
6+
"identifier": "GPL-3.0 license"
7+
},
8+
"architecture": {
9+
"64bit": {
10+
"url": "https://github.com/xishang0128/sparkle/releases/download/1.6.2/sparkle-windows-1.6.2-x64-portable.7z",
11+
"hash": "fa0082db2267c779d941debb771bc0818a1371be8d1ee5198d7640c420c4e3ed"
12+
}
13+
},
14+
"pre_install": [
15+
"ensure $persist_dir",
16+
"if (!(Test-Path \"$persist_dir\\TrafficMonitor.ini\")) { New-Item \"$persist_dir\\TrafficMonitor.ini\" -ItemType File | Out-Null }",
17+
"\"`n[config]`nportable_mode = true`n\" | Out-File \"$dir\\resources\\files\\TrafficMonitor\\global_cfg.ini\" -Encoding utf8"
18+
],
19+
"persist": [
20+
"data",
21+
[
22+
"resources\\files\\TrafficMonitor\\config.ini",
23+
"TrafficMonitor.ini"
24+
]
25+
],
26+
"shortcuts": [
27+
[
28+
"Sparkle.exe",
29+
"Sparkle"
30+
]
31+
],
32+
"checkver": {
33+
"github": "https://github.com/xishang0128/sparkle"
34+
},
35+
"autoupdate": {
36+
"architecture": {
37+
"64bit": {
38+
"url": "https://github.com/xishang0128/sparkle/releases/download/$version/sparkle-windows-$version-x64-portable.7z"
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)