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*: various updates #196691

Merged
merged 3 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Casks/m/mullvadvpn.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
version "2024.8"
sha256 "ef7373e89bda812c8da747dc905b65bd11e6c129fab69c0c5d6292622d78fea3"

url "https://github.com/mullvad/mullvadvpn-app/releases/download/#{version}/MullvadVPN-#{version}.pkg",
verified: "github.com/mullvad/mullvadvpn-app/"
url "https://cdn.mullvad.net/app/desktop/releases/#{version}/MullvadVPN-#{version}.pkg"
name "Mullvad VPN"
desc "VPN client"
homepage "https://mullvad.net/"
Expand All @@ -14,7 +13,7 @@
end

conflicts_with cask: "mullvadvpn@beta"
depends_on macos: ">= :big_sur"
depends_on macos: ">= :ventura"

pkg "MullvadVPN-#{version}.pkg"

Expand Down
18 changes: 4 additions & 14 deletions Casks/m/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,18 @@
version "2024.9-beta1"
sha256 "a450bbf063c20f5c87a4788bbd33827140f2bc7bee36a96f0f0221b4ba2cc9ff"

url "https://github.com/mullvad/mullvadvpn-app/releases/download/#{version}/MullvadVPN-#{version}.pkg",
verified: "github.com/mullvad/mullvadvpn-app/"
url "https://cdn.mullvad.net/app/desktop/releases/#{version}/MullvadVPN-#{version}.pkg"
name "Mullvad VPN"
desc "VPN client"
homepage "https://mullvad.net/"

livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+[._-]beta\d*)$/i)
strategy :github_releases do |json, regex|
json.map do |release|
next if release["draft"]

match = release["tag_name"]&.match(regex)
next if match.blank?

match[1]
end
end
url "https://mullvad.net/download/app/pkg/latest-beta"
strategy :header_match
end

conflicts_with cask: "mullvadvpn"
depends_on macos: ">= :ventura"

pkg "MullvadVPN-#{version}.pkg"

Expand Down
1 change: 0 additions & 1 deletion audit_exceptions/github_prerelease_allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"magicavoxel": "all",
"messenger-native": "all",
"mongotron": "all",
"mullvadvpn@beta": "all",
"my-budget": "all",
"netnewswire@beta": "all",
"nuclear": "all",
Expand Down
Loading