cask 'tunnelblick-beta' do version '3.7.4beta01,4890' sha256 '51d7fcff9ac1cd0dc8056ad9e772678b0816218da7e38bf9dc9ffd10af849e39' # github.com/Tunnelblick/Tunnelblick/releases/download was verified as official when first introduced to the cask url "https://github.com/Tunnelblick/Tunnelblick/releases/download/v#{version.before_comma}/Tunnelblick_#{version.before_comma}_build_#{version.after_comma}.dmg" appcast 'https://github.com/Tunnelblick/Tunnelblick/releases.atom', checkpoint: 'a25382dc78399c7abe953184b050e12a2d398c7186d7b95d0cc50cafb30259b5' name 'Tunnelblick' homepage 'https://tunnelblick.net/' app 'Tunnelblick.app' uninstall_preflight do set_ownership "#{appdir}/Tunnelblick.app" end uninstall launchctl: [ 'net.tunnelblick.tunnelblick.LaunchAtLogin', 'net.tunnelblick.tunnelblick.tunnelblickd', ], quit: 'net.tunnelblick.tunnelblick' zap delete: [ '~/Library/Caches/com.apple.helpd/SDMHelpData/Other/English/HelpSDMIndexFile/net.tunnelblick.tunnelblick.help', '~/Library/Caches/net.tunnelblick.tunnelblick', ], trash: [ '/Library/Application Support/Tunnelblick', '~/Library/Application Support/Tunnelblick', '~/Library/Preferences/net.tunnelblick.tunnelblick.plist', ] caveats <<-EOS.undent For security reasons, #{token} must be installed to /Applications, and will request to be moved at launch. EOS end