forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhstracker.rb
31 lines (26 loc) · 980 Bytes
/
hstracker.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cask "hstracker" do
version "2.7.5"
sha256 "36f75448d7cc5a5fb30b3162c1b6a2c2ffdb4c3c84db77bee47bf24784227858"
url "https://github.com/HearthSim/HSTracker/releases/download/#{version}/HSTracker.app.zip",
verified: "github.com/HearthSim/HSTracker/"
name "Hearthstone Deck Tracker"
desc "Deck tracker and deck manager for Hearthstone"
homepage "https://hsdecktracker.net/"
livecheck do
url :url
regex(/^v?(\d+(?:\.\d+)+)$/i)
end
auto_updates true
depends_on macos: ">= :sierra"
app "HSTracker.app"
zap trash: [
"~/Library/Application Support/HSTracker",
"~/Library/Application Support/net.hearthsim.hstracker",
"~/Library/Caches/HSTracker",
"~/Library/Caches/net.hearthsim.hstracker",
"~/Library/Cookies/net.hearthsim.hstracker.binarycookies*",
"~/Library/Logs/HSTracker",
"~/Library/Preferences/net.hearthsim.hstracker.plist",
"~/Library/Saved Application State/net.hearthsim.hstracker.savedState",
]
end