Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mullvadvpn-np@2024.5: update to version 2024.5 #347

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
42 changes: 23 additions & 19 deletions bucket/mullvadvpn-np.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,38 @@
{
"version": "2023.6",
"homepage": "https://mullvad.net/en/",
"version": "2024.5",
"description": "The official desktop client for Mullvad VPN, a privacy-respecting VPN service.",
"homepage": "https://mullvad.net/en/vpn",
"license": "GPL-3.0",
"architecture": {
"64bit": {
"url": "https://mullvad.net/media/app/MullvadVPN-2023.6.exe#/setup.exe",
"hash": "1a212857d3edcfe44cfdf0ac50db27a1fb325721f7fd9aa9a1e8fcc8b4bda64c"
"url": "https://github.com/mullvad/mullvadvpn-app/releases/download/2024.5/MullvadVPN-2024.5.exe#/setup.exe",
"hash": "5411fef047adadb03e49ab2b9f5b5efd0b1ab4f8c544dd4842582444895462c8"
}
},
"pre_install": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Start-Process \"$dir\\setup.exe\" -Verb 'RunAs' -Args @('/allusers', '/S')",
"while (!(Get-Process -Name 'mullvad-daemon' -ErrorAction 'SilentlyContinue')) { Start-Sleep -Seconds 5 }",
"Remove-Item \"$dir\\setup.exe\""
],
"pre_uninstall": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Stop-Service -Name 'MullvadVPN' -ErrorAction 'SilentlyContinue' -Force; Stop-Process -Name 'Mullvad VPN' -ErrorAction 'SilentlyContinue' -Force",
"Start-Process \"$env:ProgramFiles\\Mullvad VPN\\Uninstall Mullvad VPN.exe\" -Wait -Verb 'RunAs' -Args @('/allusers', '/S')",
"Start-Sleep -Seconds 2"
],
"installer": {
"script": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Start-Process \"$dir\\setup.exe\" -Verb 'RunAs' -Args @('/allusers', '/S')",
"while (!(Get-Process -Name 'mullvad-daemon' -ErrorAction 'SilentlyContinue')) { Start-Sleep -Seconds 5 }",
"Remove-Item \"$dir\\setup.exe\""
]
},
"uninstaller": {
"script": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Stop-Service -Name 'MullvadVPN' -ErrorAction 'SilentlyContinue' -Force; Stop-Process -Name 'Mullvad VPN' -ErrorAction 'SilentlyContinue' -Force",
"Start-Process \"$env:ProgramFiles\\Mullvad VPN\\Uninstall Mullvad VPN.exe\" -Wait -Verb 'RunAs' -Args @('/allusers', '/S')",
"Start-Sleep -Seconds 2"
]
},
"checkver": {
"url": "https://mullvad.net/en/download/windows/",
"regex": ">Latest\\sversion:\\s([\\d.]+)"
"url": "https://api.mullvad.net/app/v1/releases/windows/$version",
"jsonpath": "$.latest_stable"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://mullvad.net/media/app/MullvadVPN-$version.exe#/setup.exe"
"url": "https://github.com/mullvad/mullvadvpn-app/releases/download/$version/MullvadVPN-$version.exe#/setup.exe"
}
}
}
Expand Down