44 lines
1.6 KiB
Ruby
44 lines
1.6 KiB
Ruby
cask "windscribe" do
|
|
version "2.6.14"
|
|
sha256 "b2f350fbe47506a04973e310d6b5ce01b8b9d27633916b67dfe911b1084e02a0"
|
|
|
|
url "https://deploy.totallyacdn.com/desktop-apps/#{version}/Windscribe_#{version}.dmg",
|
|
verified: "deploy.totallyacdn.com/desktop-apps/"
|
|
name "Windscribe"
|
|
desc "VPN client for secure internet access and private browsing"
|
|
homepage "https://windscribe.com/"
|
|
|
|
livecheck do
|
|
url "https://windscribe.com/changelog/mac"
|
|
regex(%r{>\sv?(\d+(?:\.\d+)+)</a>\s</h3>}i)
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
installer manual: "WindscribeInstaller.app"
|
|
|
|
uninstall launchctl: [
|
|
"com.windscribe.helper.macos",
|
|
"com.windscribe.launcher.macos",
|
|
],
|
|
quit: [
|
|
"com.windscribe.gui.macos",
|
|
"com.windscribe.helper.macos",
|
|
"com.windscribe.launcher.macos",
|
|
],
|
|
delete: [
|
|
"/Applications/Windscribe.app",
|
|
"/Library/LaunchDaemons/com.windscribe.helper.macos.plist",
|
|
"/Library/PrivilegedHelperTools/com.windscribe.helper.macos",
|
|
"/usr/local/bin/windscribe-cli",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.windscribe.launcher.macos.sfl*",
|
|
"~/Library/Application Support/Windscribe",
|
|
"~/Library/Preferences/com.aaa.windscribe.windscribe.plist",
|
|
"~/Library/Preferences/com.windscribe.Windscribe2.plist",
|
|
"~/Library/Saved Application State/com.windscribe.gui.macos.savedState",
|
|
]
|
|
end
|