26 lines
872 B
Ruby
26 lines
872 B
Ruby
cask 'hook' do
|
|
version '2595,1565469253'
|
|
sha256 'eda2ded7a1d69962a76102fd06dd1093a8d813c122fcba76b24094af07921fe6'
|
|
|
|
# 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
|