homebrew-cask/Casks/mullvadvpn.rb

18 lines
607 B
Ruby

cask 'mullvadvpn' do
version '2018.2'
sha256 '9a3436e566cd7577e78cfe87a77b874ce631da1502dc09914e14ca49ad26642f'
# github.com/mullvad/mullvadvpn-app was verified as official when first introduced to the cask
url "https://github.com/mullvad/mullvadvpn-app/releases/download/#{version}/MullvadVPN-#{version}.pkg"
appcast 'https://github.com/mullvad/mullvadvpn-app/releases.atom'
name 'Mullvad'
homepage 'https://mullvad.net/'
conflicts_with cask: 'mullvad-vpn-beta'
pkg "MullvadVPN-#{version}.pkg"
uninstall pkgutil: 'net.mullvad.vpn',
launchctl: 'net.mullvad.daemon'
end