mirror of
https://github.com/ScoopInstaller/Extras.git
synced 2026-08-01 07:02:18 +08:00
51 lines
1.7 KiB
JSON
51 lines
1.7 KiB
JSON
{
|
|
"version": "1.3.4696.56",
|
|
"description": "OpenVPN Client",
|
|
"homepage": "https://client.pritunl.com",
|
|
"license": {
|
|
"identifier": "Freeware",
|
|
"url": "https://github.com/pritunl/pritunl-client-electron/blob/master/LICENSE"
|
|
},
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/pritunl/pritunl-client-electron/releases/download/1.3.4696.56/Pritunl.exe#/dl.exe",
|
|
"hash": "5ba16b22ba272b72d3a817b8b3f349776f2f26ad57a744b8669a37a64d7ffaa6"
|
|
}
|
|
},
|
|
"innosetup": true,
|
|
"pre_install": "if (-not (is_admin)) { error 'This package requires admin privileges to install'; break }",
|
|
"post_install": "Invoke-ExternalCommand \"$dir\\post_install.exe\" -RunAs | Out-Null",
|
|
"uninstaller": {
|
|
"script": [
|
|
"if (-not (is_admin)) { error 'This package requires admin privileges to uninstall'; break }",
|
|
"Invoke-ExternalCommand \"$dir\\pre_uninstall.exe\" -RunAs | Out-Null",
|
|
"Remove-Item 'C:\\ProgramData\\Pritunl' -Recurse -Force"
|
|
]
|
|
},
|
|
"bin": [
|
|
[
|
|
"pritunl.exe",
|
|
"pritunl",
|
|
"--no-main"
|
|
]
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"pritunl.exe",
|
|
"Pritunl"
|
|
]
|
|
],
|
|
"checkver": "([\\d.]+)/Pritunl.exe",
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/pritunl/pritunl-client-electron/releases/download/$version/Pritunl.exe#/dl.exe",
|
|
"hash": {
|
|
"url": "https://raw.githubusercontent.com/pritunl/pritunl-client-electron/master/SHA256",
|
|
"regex": "$version[\\r\\n]+$sha256.*?$basename"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|