diff --git a/Casks/m/mullvadvpn.rb b/Casks/m/mullvadvpn.rb index a18fa0af2247..00b15d5959f0 100644 --- a/Casks/m/mullvadvpn.rb +++ b/Casks/m/mullvadvpn.rb @@ -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/" @@ -14,7 +13,7 @@ end conflicts_with cask: "mullvadvpn@beta" - depends_on macos: ">= :big_sur" + depends_on macos: ">= :ventura" pkg "MullvadVPN-#{version}.pkg" diff --git a/Casks/m/mullvadvpn@beta.rb b/Casks/m/mullvadvpn@beta.rb index f4ba9d55a828..d9f53799a793 100644 --- a/Casks/m/mullvadvpn@beta.rb +++ b/Casks/m/mullvadvpn@beta.rb @@ -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" diff --git a/audit_exceptions/github_prerelease_allowlist.json b/audit_exceptions/github_prerelease_allowlist.json index 780021d0134e..946b82994d10 100644 --- a/audit_exceptions/github_prerelease_allowlist.json +++ b/audit_exceptions/github_prerelease_allowlist.json @@ -30,7 +30,6 @@ "magicavoxel": "all", "messenger-native": "all", "mongotron": "all", - "mullvadvpn@beta": "all", "my-budget": "all", "netnewswire@beta": "all", "nuclear": "all",