/
gitfox.rb
37 lines (32 loc) 路 1.45 KB
/
gitfox.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
32
33
34
35
36
37
cask "gitfox" do
version "3.5.0,8092"
sha256 "756af41e4b5f53ee63f5b9f44c52ae7b8b8fc27cd2f52af24e7367257b7bf9a6"
url "https://storage.googleapis.com/gitfox/builds/retail/#{version.csv.second}/Gitfox.#{version.csv.second}.zip",
verified: "storage.googleapis.com/gitfox/"
name "Gitfox"
desc "Git client"
homepage "https://www.gitfox.app/"
livecheck do
url "https://storage.googleapis.com/gitfox/Gitfox.latest.stable.zip"
strategy :extract_plist
end
auto_updates true
depends_on macos: ">= :monterey"
app "Gitfox.app"
binary "#{appdir}/Gitfox.app/Contents/SharedSupport/bin/gitfox-cli", target: "gitfox"
zap trash: [
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.bytieful.gitfox-retail.sfl*",
"~/Library/Application Support/com.bytieful.Gitfox",
"~/Library/Application Support/com.bytieful.Gitfox-retail",
"~/Library/Application Support/Gitfox",
"~/Library/Caches/com.bytieful.Gitfox",
"~/Library/Caches/com.bytieful.Gitfox-retail",
"~/Library/Caches/com.crashlytics.data/com.bytieful.Gitfox",
"~/Library/HTTPStorages/com.bytieful.Gitfox-retail",
"~/Library/Preferences/com.bytieful.Gitfox-retail.plist",
"~/Library/Preferences/com.bytieful.Gitfox.*",
"~/Library/Saved Application State/com.bytieful.Gitfox-retail.savedState",
"~/Library/WebKit/com.bytieful.Gitfox",
"~/Library/WebKit/com.bytieful.Gitfox-retail",
]
end