24 lines
990 B
Ruby
24 lines
990 B
Ruby
cask 'telegram-desktop' do
|
|
version '1.2.6'
|
|
sha256 '6909060fbf5ff65b4d100ad29e82ae7b0415f988ea55c1f0a01afbcb9d3bfd4c'
|
|
|
|
# github.com/telegramdesktop/tdesktop/releases/download was verified as official when first introduced to the cask
|
|
url "https://github.com/telegramdesktop/tdesktop/releases/download/v#{version}/tsetup.#{version}.dmg"
|
|
appcast 'https://github.com/telegramdesktop/tdesktop/releases.atom',
|
|
checkpoint: '5814f6dd082b575004408ad924058020564d980acc9cf9c9e97b1f18e52e52e6'
|
|
name 'Telegram Desktop'
|
|
homepage 'https://desktop.telegram.org/'
|
|
|
|
auto_updates true
|
|
conflicts_with cask: 'telegram-desktop-dev'
|
|
|
|
# Renamed to avoid conflict with telegram
|
|
app 'Telegram.app', target: 'Telegram Desktop.app'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/Telegram Desktop',
|
|
'~/Library/Preferences/com.tdesktop.Telegram.plist',
|
|
'~/Library/Saved Application State/com.tdesktop.Telegram.savedState',
|
|
]
|
|
end
|