26 lines
872 B
Ruby
26 lines
872 B
Ruby
cask 'hook' do
|
|
version '2705,1568408692'
|
|
sha256 '18b819e0fd00c898ddfc62c45b7c9c44ba41b4830275421a9a72c428cbb7b9bf'
|
|
|
|
# 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
|