-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Expand file tree
/
Copy pathpopclip.rb
More file actions
32 lines (27 loc) · 1.02 KB
/
popclip.rb
File metadata and controls
32 lines (27 loc) · 1.02 KB
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
cask "popclip" do
version "2025.9.2"
sha256 "d04d7c15ac6a6e6719e3b93325ba6238787a532470a94e2724d783897b3b2d92"
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/"
# The Sparkle feed can contain items on the "Beta" channel, so we restrict
# matching to the default channel.
livecheck do
url "https://softwareupdate.pilotmoon.com/update/popclip/appcast.xml"
strategy :sparkle do |items|
items.find { |item| item.channel.nil? }&.short_version
end
end
auto_updates true
depends_on macos: :big_sur
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