21 lines
859 B
Ruby
21 lines
859 B
Ruby
cask 'telegram-desktop' do
|
|
version '0.10.19'
|
|
sha256 '0e3a3d5c2558d1bebcab2904a2469509607538d55c217f0166f74cb0f7431cfd'
|
|
|
|
# tdesktop.com was verified as official when first introduced to the cask
|
|
url "https://updates.tdesktop.com/tmac/tsetup.#{version}.dmg"
|
|
appcast "https://tdesktop.com/mac/tupdates/current?version=#{version.no_dots}",
|
|
checkpoint: '59522ad1ed2329bbc172b60587f7811fc1fa7cd2b23a3e67ade11f2576edc130'
|
|
name 'Telegram Desktop'
|
|
homepage 'https://desktop.telegram.org'
|
|
|
|
# Renamed to avoid conflict with telegram
|
|
app 'Telegram.app', target: 'Telegram Desktop.app'
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/Telegram Desktop',
|
|
'~/Library/Preferences/com.tdesktop.Telegram.plist',
|
|
'~/Library/Saved Application State/com.tdesktop.Telegram.savedState',
|
|
]
|
|
end
|