homebrew-cask/Casks/whatsyoursign.rb

26 lines
1.1 KiB
Ruby

cask 'whatsyoursign' do
version '1.4.0'
sha256 '8ac90487537a8da9ab9226721917f21a44984aefff104433e75a6044eb3f169b'
# bitbucket.org/objective-see was verified as official when first introduced to the cask
url "https://bitbucket.org/objective-see/deploy/downloads/WhatsYourSign_#{version}.zip"
appcast 'https://objective-see.com/products/changelogs/WhatsYourSign.txt',
checkpoint: '11c897b805bea527e5d823e1aa566047931b528e802a5fd7d328ae63bdd3094f'
name 'What\'s Your Sign?'
homepage 'https://objective-see.com/products/whatsyoursign.html'
depends_on macos: '>= :yosemite'
installer manual: 'WhatsYourSign_Installer.app'
uninstall_preflight do
system_command '/usr/bin/pluginkit', args: ['-r', '/Applications/WhatsYourSign.app/Contents/PlugIns/WhatsYourSign.appex']
end
uninstall delete: [
'/Applications/WhatsYourSign.app',
'~/Library/Application Scripts/com.objective-see.WhatsYourSignExt.FinderSync',
'~/Library/Containers/com.objective-see.WhatsYourSignExt.FinderSync',
]
end