/
rclone-browser.json
61 lines (61 loc) 路 2.44 KB
/
rclone-browser.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
58
59
60
61
{
"version": "1.8.0",
"description": "A simple rclone GUI",
"homepage": "https://github.com/kapitainsky/RcloneBrowser",
"license": "MIT",
"suggest": {
"rclone": "rclone"
},
"architecture": {
"64bit": {
"url": "https://github.com/kapitainsky/RcloneBrowser/releases/download/1.8.0/rclone-browser-1.8.0-a0b66c6-windows-64-bit.exe",
"hash": "sha512:1d465a5417f57ed3c203464ccebf3badef7217ad2bb8766ad5c08827082dd6ed1a4e9b3cdfa12ba71d53e0846ea4f3d123b18bfc414952c909676daca0442a0b"
},
"32bit": {
"url": "https://github.com/kapitainsky/RcloneBrowser/releases/download/1.8.0/rclone-browser-1.8.0-a0b66c6-windows-32-bit.exe",
"hash": "sha512:fdce63684ba687ae30e9f25c39fbbc7f875c49667eedeaaa9e59a25a1febcff928465a293c81721f648dce8569241a2a938ae16d5462cdd2c366a1ba13c1ee1b"
}
},
"innosetup": true,
"pre_install": [
"if (!(Test-Path \"$persist_dir\\tasks.bin\")) { New-Item \"$dir\\tasks.bin\" | Out-Null }",
"if (Test-Path \"$persist_dir\\RcloneBrowser.ini\") {",
" Copy-Item \"$persist_dir\\RcloneBrowser.ini\" \"$dir\"",
"} else {",
" $forwardPer = \"$persist_dir\\downloads\" -replace '\\\\', '/'",
" Set-Content \"$dir\\RcloneBrowser.ini\" @(",
" '[Settings]', 'checkRcloneBrowserUpdates=false', 'checkRcloneUpdates=false', \"defaultDownloadDir=$forwardPer\"",
" ) -Encoding Ascii",
"}"
],
"uninstaller": {
"script": "Copy-Item \"$dir\\RcloneBrowser.ini\" \"$persist_dir\" -ErrorAction SilentlyContinue -Force"
},
"shortcuts": [
[
"RcloneBrowser.exe",
"Rclone Browser"
]
],
"persist": [
"downloads",
"tasks.bin"
],
"checkver": {
"github": "https://github.com/kapitainsky/RcloneBrowser",
"regex": "/rclone-browser-([\\d.]+)-(?<commit>[a-fA-F0-9]+)-windows"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/kapitainsky/RcloneBrowser/releases/download/$version/rclone-browser-$version-$matchCommit-windows-64-bit.exe"
},
"32bit": {
"url": "https://github.com/kapitainsky/RcloneBrowser/releases/download/$version/rclone-browser-$version-$matchCommit-windows-32-bit.exe"
}
},
"hash": {
"url": "$baseurl/sha512sum.txt.asc"
}
}
}