homebrew-cask/Casks/hook.rb

26 lines
872 B
Ruby

cask 'hook' do
version '2696,1567841179'
sha256 'c893d4e9b308e37891739e0bef3ba81286b02c3aee18b13399b72d0858367173'
# dl.devmate.com/com.cogsciapps.hook was verified as official when first introduced to the cask
url "https://dl.devmate.com/com.cogsciapps.hook/#{version.before_comma}/#{version.after_comma}/Hook-#{version.before_comma}.dmg"
appcast 'https://updates.devmate.com/com.cogsciapps.hook.xml'
name 'Hook'
homepage 'https://hookproductivity.com/'
auto_updates true
depends_on macos: '>= :sierra'
app 'Hook.app'
uninstall launchctl: 'com.cogsciapps.hookautolaunchhelper',
quit: 'com.cogsciapps.hook'
zap trash:
[
'~/Library/Caches/com.cogsciapps.hook',
'~/Library/Logs/com.cogsciapps.hook',
'~/Library/Preferences/com.cogsciapps.hook.plist',
]
end