Rename unofficialwhatsapp to whatsie (#23525)

This commit is contained in:
Eitot 2016-08-07 16:36:19 +02:00 committed by Joshua Hagins
parent b96b7ca607
commit 3634aa13d2
2 changed files with 32 additions and 19 deletions

View File

@ -1,19 +0,0 @@
cask 'unofficialwhatsapp' do
version '1.1.0'
sha256 '6b91701c3c980dfbb1ea7213f880767bcc04e681813c6c339f6212e4db49d588'
url "https://github.com/Aluxian/WhatsApp-Desktop/releases/download/v#{version}/UnofficialWhatsApp.dmg"
appcast 'https://github.com/Aluxian/WhatsApp-Desktop/releases.atom',
checkpoint: 'cc6a39b5f8d6f92e83bd040fdaea2991aa2f2b2b655461f657b3d9b77cd01731'
name 'Unofficial WhatsApp for Desktop'
homepage 'https://github.com/Aluxian/WhatsApp-Desktop'
license :mit
app 'UnofficialWhatsApp.app'
zap delete: [
'~/Library/Preferences/com.aluxian.whatsappfordesktop.plist',
'~/Library/Application Support/UnofficialWhatsApp/',
'~/Library/Saved Application State/com.aluxian.whatsappfordesktop.savedState/',
]
end

32
Casks/whatsie.rb Normal file
View File

@ -0,0 +1,32 @@
cask 'whatsie' do
version '2.0.19'
sha256 'f40922bfc768460c1a56212abc34e7be1659e0b30a50ff1dd7fcd3fc77dd4aa0'
# github.com/Aluxian/Whatsie was verified as official when first introduced to the cask
url "https://github.com/Aluxian/Whatsie/releases/download/v#{version}/whatsie-#{version}-osx.dmg"
appcast 'https://github.com/Aluxian/Whatsie/releases.atom',
checkpoint: 'bda4afec7f0a0fe936a3d2202f1c49370545960b5f06f5bf36ac7bfd5eb9bf59'
name 'Whatsie'
homepage 'https://whatsie.chat/'
license :mit
auto_updates true
depends_on macos: '>= :mountain_lion'
app 'Whatsie.app'
uninstall launchctl: 'com.aluxian.whatsie',
login_item: 'UnofficialWhatsApp'
zap delete: [
'~/Library/Application Support/UnofficialWhatsApp',
'~/Library/Application Support/Whatsie',
'~/Library/Caches/com.aluxian.whatsie',
'~/Library/Caches/com.aluxian.whatsie.ShipIt',
'~/Library/Preferences/com.aluxian.whatsappfordesktop.plist',
'~/Library/Preferences/com.aluxian.whatsie.helper.plist',
'~/Library/Preferences/com.aluxian.whatsie.plist',
'~/Library/Saved Application State/com.aluxian.whatsappfordesktop.savedState',
'~/Library/Saved Application State/com.aluxian.whatsie.savedState',
]
end