-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
/
signal.rb
29 lines (23 loc) 路 920 Bytes
/
signal.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 "signal" do
arch arm: "arm64", intel: "x64"
version "7.9.0"
sha256 arm: "8c61b452d98af083af6da85af82556255bd454463bc1f42340ee5df6e2cbb780",
intel: "52e0805e2543e617643990a6fcf25abeef63587bb95d808d3d84e929d8762a2b"
url "https://updates.signal.org/desktop/signal-desktop-mac-#{arch}-#{version}.dmg"
name "Signal"
desc "Instant messaging application focusing on security"
homepage "https://signal.org/"
livecheck do
url "https://updates.signal.org/desktop/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
depends_on macos: ">= :catalina"
app "Signal.app"
zap trash: [
"~/Library/Application Support/Signal",
"~/Library/Preferences/org.whispersystems.signal-desktop.helper.plist",
"~/Library/Preferences/org.whispersystems.signal-desktop.plist",
"~/Library/Saved Application State/org.whispersystems.signal-desktop.savedState",
]
end