/
goodsync-np.json
29 lines (29 loc) 路 1.37 KB
/
goodsync-np.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
{
"version": "12.6.4",
"homepage": "https://www.goodsync.com",
"description": "Simple and secure file backup/synchronization software.",
"license": {
"identifier": "Freeware",
"url": "https://www.goodsync.com/license"
},
"url": "https://www.goodsync.com/download/GoodSync-Setup.exe",
"hash": "964a93e2a091c3b2c7ab1164fb243385770dd91bed11cd8b820a2ba89c4755e4",
"pre_install": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Start-Process \"$dir\\GoodSync-Setup.exe\" -Wait -ArgumentList '/S' -Verb RunAs",
"Stop-Process -Name 'gs-server' -Force; Remove-Item \"$dir\\GoodSync-Setup.exe\""
],
"pre_uninstall": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"if (Get-Process -Name 'gs-server' -ErrorAction 'SilentlyContinue') { Stop-Process -Name 'gs-server' -Force }",
"Start-Process \"$env:ProgramFiles\\Siber Systems\\GoodSync\\gs-runner.exe\" -Wait -ArgumentList @('/stop-remove-services', '/S') -Verb RunAs",
"Remove-Item \"$env:ProgramData\\GoodSync\" -Force -Recurse"
],
"checkver": {
"url": "https://www.goodsync.com/news-windows",
"regex": "Version\\s([\\d.]+)"
},
"autoupdate": {
"url": "https://www.goodsync.com/download/GoodSync-Setup.exe"
}
}