21 lines
744 B
Ruby
21 lines
744 B
Ruby
cask 'send-to-kindle' do
|
|
version :latest
|
|
sha256 :no_check
|
|
|
|
# amazonaws.com/sendtokindle was verified as official when first introduced to the cask
|
|
url 'https://s3.amazonaws.com/sendtokindle/SendToKindleForMac-installer.pkg'
|
|
name 'Send to Kindle'
|
|
homepage 'https://www.amazon.com/gp/sendtokindle/mac'
|
|
|
|
pkg 'SendToKindleForMac-installer.pkg'
|
|
|
|
uninstall launchctl: 'com.amazon.sendtokindle.launcher',
|
|
pkgutil: 'com.amazon.SendToKindleMacInstaller.pkg'
|
|
|
|
zap delete: [
|
|
'~/Library/Application Support/Amazon/SendToKindle',
|
|
'~/Library/Preferences/com.amazon.SendToKindle.plist',
|
|
'~/Library/Logs/SendToKindleInstall.log',
|
|
]
|
|
end
|