-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
unite.rb
33 lines (28 loc) 路 1.09 KB
/
unite.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
cask "unite" do
version "5.2"
sha256 "ea1626b54d477a3c742d80defdc3c78a88e382e43edd2dd7900c9dbdb4bd29a7"
url "https://bzgdownloads.s3.amazonaws.com/Unite/Unite+#{version}.zip",
verified: "bzgdownloads.s3.amazonaws.com/Unite/"
name "Unite"
desc "Turn websites into apps"
homepage "https://bzgapps.com/unite"
livecheck do
url "https://bzgdownloads.s3.amazonaws.com/Unite/App+Cast/Unite+#{version.major}+appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :monterey"
app "Unite.app"
zap trash: [
"~/Library/Application Scripts/group.BZG.unite.sharedData",
"~/Library/Application Support/com.BZG.unite.*",
"~/Library/Application Support/Unite",
"~/Library/Caches/com.BZG.unite",
"~/Library/Cookies/com.BZG.unite.3.binarycookies",
"~/Library/Group Containers/group.BZG.unite.sharedData",
"~/Library/HTTPStorages/com.BZG.unite*",
"~/Library/Preferences/com.BZG.unite.*",
"~/Library/Saved Application State/com.BZG.unite*.savedState",
],
rmdir: "/Users/Shared/Unite"
end