32 lines
1.1 KiB
Ruby
32 lines
1.1 KiB
Ruby
cask "telegram" do
|
|
version "7.3,211334"
|
|
sha256 "77939b6843a4e80263265ff51cb8676770334836e1c2826f3d636cea37815d27"
|
|
|
|
url "https://osx.telegram.org/updates/Telegram-#{version.before_comma}.#{version.after_comma}.app.zip"
|
|
name "Telegram for macOS"
|
|
desc "Messaging app with a focus on speed and security"
|
|
homepage "https://macos.telegram.org/"
|
|
|
|
livecheck do
|
|
url "https://osx.telegram.org/updates/versions.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
app "Telegram.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Scripts/ru.keepcoder.Telegram",
|
|
"~/Library/Application Scripts/ru.keepcoder.Telegram.TelegramShare",
|
|
"~/Library/Caches/ru.keepcoder.Telegram",
|
|
"~/Library/Containers/ru.keepcoder.Telegram",
|
|
"~/Library/Containers/ru.keepcoder.Telegram.TelegramShare",
|
|
"~/Library/Cookies/ru.keepcoder.Telegram.binarycookies",
|
|
"~/Library/Group Containers/*.ru.keepcoder.Telegram",
|
|
"~/Library/Preferences/ru.keepcoder.Telegram.plist",
|
|
"~/Library/Saved Application State/ru.keepcoder.Telegram.savedState",
|
|
]
|
|
end
|