-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
/
banktivity.rb
29 lines (24 loc) · 992 Bytes
/
banktivity.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
cask "banktivity" do
version "9.2.12,282"
sha256 "d0e792b176dbf605e929c662ce5011ad578cc1c728699fc1f403ab3f1751b541"
url "https://www.iggsoft.com/banktivity/Banktivity#{version.csv.first}-#{version.csv.second}.dmg",
verified: "iggsoft.com/banktivity/"
name "Banktivity"
desc "App to manage bank accounts in one place"
homepage "https://www.iggsoftware.com/banktivity/"
livecheck do
url "https://www.iggsoft.com/banktivity/banktivity#{version.major}-versions-feed.json"
strategy :json do |json|
json["Banktivity"].map do |release|
"#{release["version"]},#{release["build"]}"
end
end
end
depends_on macos: ">= :catalina"
app "Banktivity.app"
zap trash: [
"~/Library/Application Scripts/com.iggsoftware.banktivity",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.iggsoftware.banktivity.sfl*",
"~/Library/Containers/com.iggsoftware.banktivity",
]
end