generated from ScoopInstaller/BucketTemplate
/
eharia2.json
57 lines (57 loc) · 2.38 KB
/
eharia2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"homepage": "https://github.com/Jvcon/EhAria2",
"description": "A aira2 GUI made by Autohotkey.",
"version": "0.3.0",
"license": "GPL-2.0",
"notes": "Run $dir\\EhAria2Manager.exe to register Protocol",
"architecture": {
"64bit": {
"url": [
"https://github.com/Jvcon/EhAria2/releases/download/v0.3.0/EhAria2.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v0.3.0/EhAria2Extension.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v0.3.0/EhAria2Manager.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v0.3.0/EhAria2Torrent.exe"
],
"hash": [
"2a3f85043d1ac5051b5a197cf323dab9b91f179b46e329bfd4f2131223ca4966",
"837c09e65f4a6481acabaa4b0dcaabf38b5c5c4b4f9446e33de2436b8d109471",
"1021643f91dc54f1d03d0cdd5485c31e4ea13e0b63387134db53a03305d567ca",
"412162f5d0466c06707cf2fa88879b6cd8865dc8209572bf3c5ee34ac950e79a"
]
}
},
"pre_install": [
"'EhAria2.ini', 'aria2.conf' | ForEach-Object { if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType File -Force | Out-Null } }",
"if(Test-Path \"$persist_dir\\aria2.session\") { Copy-Item \"$persist_dir\\aria2.session\" \"$dir\\aria2.session\" | Out-Null }"
],
"uninstaller": {
"script": "if(Test-Path \"$dir\\aria2.session\") { Copy-Item \"$dir\\aria2.session\" \"$persist_dir\\aria2.session\" | Out-Null }"
},
"shortcuts": [
[
"EhAria2.exe",
"EhAria2"
],
[
"EhAria2Torrent.exe",
"EhAria2Torrent"
]
],
"persist": [
"aria2.conf",
"EhAria2.ini"
],
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": [
"https://github.com/Jvcon/EhAria2/releases/download/v$version/EhAria2.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v$version/EhAria2Extension.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v$version/EhAria2Manager.exe",
"https://github.com/Jvcon/EhAria2/releases/download/v$version/EhAria2Torrent.exe"
]
}
}
}
}