Skip to content

Commit

Permalink
protonvpn-np: Updated the manifest. (#204)
Browse files Browse the repository at this point in the history
- Update to version 3.0.5
- Update un|install scripts
- Update `checkver`
- Add `autoupdate.hash`

---------

Co-authored-by: HUMORCE <[email protected]>
  • Loading branch information
FlawlessCasual17 and HUMORCE committed Jun 16, 2023
1 parent 57fdfe8 commit 3bfaf0c
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions bucket/protonvpn-np.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,45 @@
{
"##": "This package is non-portable because the app requires installing drivers/services to work.",
"version": "2.4.1",
"description": "Open source VPN app packed with useful security features",
"version": "3.0.5",
"description": "Open source VPN app packed with useful security features.",
"homepage": "https://protonvpn.com/",
"license": {
"identifier": "Freeware",
"url": "https://github.com/ProtonVPN/win-app/blob/master/COPYING.md"
"license": "GPL-3.0",
"architecture": {
"64bit": {
"url": "https://download.protonvpn.net/download/ProtonVPN_v3.0.5.exe",
"hash": "04d3b827e5a2c3899d797d2c5a19433fda43c3abc4e3e8b3fa5548c525973e4f"
}
},
"url": "https://github.com/ProtonVPN/win-app/releases/download/2.4.1/ProtonVPN_win_v2.4.1.exe#/setup.exe",
"hash": "c95cf2af65dd0b1556c02cd17952462f02314cf532eec06ebca08328549790ae",
"installer": {
"script": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Invoke-ExternalCommand \"$dir\\setup.exe\" -ArgumentList '/qn' -RunAs | Out-Null",
"Stop-Process -Name ProtonVPN # This closes the login screen appeared after installing the app",
"Remove-Item \"$Env:Public\\Desktop\\ProtonVPN.lnk\"",
"Remove-Item \"$dir\\setup.exe\""
"Invoke-ExternalCommand \"$dir\\$fname\" -ArgumentList @('/VERYSILENT', '/SP-', '/SUPPRESSMSGBOXES', '/NORESTART') -RunAs | Out-Null",
"# Closes the login screen appeared after installing the app",
"Stop-Process -Name 'ProtonVPN' -ErrorAction SilentlyContinue -Force",
"Remove-Item \"$dir\\$fname\""
]
},
"uninstaller": {
"script": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Invoke-ExternalCommand msiexec -ArgumentList @('/x', '{0102D7E4-DD33-494D-B34C-2DD6976A54B1}', '/qn') -RunAs | Out-Null"
"if ($cmd -eq 'uninstall') {",
" if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
" Invoke-ExternalCommand \"$env:ProgramFiles\\Proton\\VPN\\unins000.exe\" -ArgumentList @('/VERYSILENT', '/FORCECLOSEAPPLICATIONS', '/SUPPRESSMSGBOXES') -RunAs | Out-Null",
"}"
]
},
"checkver": {
"github": "https://github.com/ProtonVPN/win-app"
"url": "https://protonvpn.com/download/windows-releases.json",
"jsonpath": "$.Categories[?(@.Name == 'Stable')].Releases[0].Version"
},
"autoupdate": {
"url": "https://github.com/ProtonVPN/win-app/releases/download/$version/ProtonVPN_win_v$version.exe#/setup.exe"
"architecture": {
"64bit": {
"url": "https://download.protonvpn.net/download/ProtonVPN_v$version.exe",
"hash": {
"url": "https://protonvpn.com/download/windows-releases.json",
"jsonpath": "$.Categories[?(@.Name == 'Stable')].Releases[?(@.Version == '$version')].File.SHA256CheckSum"
}
}
}
}
}

0 comments on commit 3bfaf0c

Please sign in to comment.