-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
popclip.rb
28 lines (23 loc) 路 875 Bytes
/
popclip.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
cask "popclip" do
version "2024.5.1"
sha256 "3899d17b5d2667f255097a2bc866894baca1decbc870a61771db4bc2da5f6a2b"
url "https://pilotmoon.com/downloads/PopClip-#{version}.zip",
verified: "pilotmoon.com/downloads/"
name "PopClip"
desc "Used to access context-specific actions when text is selected"
homepage "https://www.popclip.app/"
livecheck do
url "https://softwareupdate.pilotmoon.com/update/popclip/appcast.xml"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :catalina"
app "PopClip.app"
zap trash: [
"~/Library/Application Support/com.pilotmoon.popclip",
"~/Library/Application Support/PopClip",
"~/Library/Caches/com.pilotmoon.popclip",
"~/Library/Preferences/com.pilotmoon.popclip.plist",
"~/Library/SyncedPreferences/com.apple.kvs/ChangeTokens/NoEncryption/PopClip",
]
end