Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / s / stash.rb
blob37edd6c84106fade67f1871b3e8acf649b0fe306
1 cask "stash" do
2   version "2.8.0,327"
3   sha256 "062e83b59f4997eda69f8c67d6ba52affc583587a022159841b40347b7baa140"
5   url "https://mac-release-static.stash.ws/Stash-build-#{version.csv.second}.zip"
6   name "Stash"
7   desc "Network tool based on Clash"
8   homepage "https://stash.ws/"
10   livecheck do
11     url "https://mac-release.stash.ws/appcast.xml"
12     strategy :sparkle
13   end
15   auto_updates true
16   depends_on macos: ">= :big_sur"
18   app "Stash.app"
20   uninstall quit:   "ws.stash.app.mac",
21             delete: [
22               "/Library/LaunchDaemons/ws.stash.app.mac.daemon.helper.plist",
23               "/Library/PrivilegedHelperTools/ws.stash.app.mac.daemon.helper",
24             ]
26   zap trash: [
27     "~/Library/Application Scripts/group.ws.stash.app",
28     "~/Library/Application Scripts/ws.stash.app",
29     "~/Library/Application Scripts/ws.stash.app.mac-LaunchAtLoginHelper",
30     "~/Library/Application Support/Stash",
31     "~/Library/Application Support/ws.stash.app.mac",
32     "~/Library/Caches/ws.stash.app.mac",
33     "~/Library/Caches/ws.stash.app.mac.dashboard",
34     "~/Library/Containers/ws.stash.app.mac-LaunchAtLoginHelper",
35     "~/Library/Group Containers/group.ws.stash.app",
36     "~/Library/HTTPStorages/ws.stash.app.mac",
37     "~/Library/HTTPStorages/ws.stash.app.mac.binarycookies",
38     "~/Library/Preferences/ws.stash.app.mac.plist",
39   ]
40 end