Skip to content

Commit

Permalink
Windscribe 2 (#103769)
Browse files Browse the repository at this point in the history
* windscribe: Update script to handle Windscribe v2

* Changes made by `brew style --fix`

* Update windscribe.rb

Co-authored-by: Miccal Matthews <[email protected]>
  • Loading branch information
jivanpal and miccal authored Apr 13, 2021
1 parent 636765c commit c4f2c94
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions Casks/windscribe.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,41 @@
cask "windscribe" do
version "1.83.1.25"
version "2.02.10"
sha256 :no_check

url "https://assets.windscribe.com/desktop/mac/Windscribe.dmg"
name "Windscribe"
desc "VPN client for secure internet access and private browsing"
homepage "https://windscribe.com/"

app "Windscribe.app"
livecheck do
url "https://windscribe.com/changelog/mac"
strategy :page_match
regex(/Windscribe\.dmg">\s*v(\d+(?:\.\d+)*)/i)
end

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/PrivilegedHelperTools/com.windscribe.helper.macos",
"/Library/LaunchDaemons/com.windscribe.helper.macos.plist",
"/private/var/run/windscribe_helper_socket2",
"/usr/local/bin/windscribe-cli",
]

zap trash: [
"~/Library/Application Support/Windscribe",
"~/Library/Saved Application State/com.aaa.windscribe.windscribe.savedState",
"~/Library/Preferences/com.windscribe.Windscribe.plist",
"~/Library/Preferences/com.windscribe.Windscribe2.plist",
"~/Library/Preferences/com.aaa.windscribe.windscribe.plist",
"~/Library/Saved Application State/com.windscribe.gui.macos.savedState",
]
end

0 comments on commit c4f2c94

Please sign in to comment.