28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
cask 'whatroute' do
|
|
version '2.1.3'
|
|
sha256 '4291283e78771c3b978b7d8e0e02fc7ab3b93468862faceb102de45b86d5972d'
|
|
|
|
url "https://downloads.whatroute.net/software/whatroute-#{version}.zip"
|
|
appcast "https://www.whatroute.net/whatroute#{version.major}appcast.xml",
|
|
checkpoint: '69742846898e676a8b3bac823e1c0719b2182f4592b10201316877c5468fb1d1'
|
|
name 'WhatRoute'
|
|
homepage 'https://www.whatroute.net/'
|
|
|
|
depends_on macos: '>= :yosemite'
|
|
|
|
app 'WhatRoute.app'
|
|
|
|
uninstall delete: "/Library/PrivilegedHelperTools/net.whatroute.whatroute#{version.major}helper",
|
|
launchctl: [
|
|
'net.whatroute.LaunchHelper',
|
|
"net.whatroute.whatroute#{version.major}helper",
|
|
],
|
|
quit: "net.whatroute.whatroute#{version.major}"
|
|
|
|
zap trash: [
|
|
"~/Library/Caches/net.whatroute.whatroute#{version.major}",
|
|
"~/Library/Logs/net.whatroute.whatroute#{version.major}",
|
|
"~/Library/Preferences/net.whatroute.whatroute#{version.major}.plist",
|
|
]
|
|
end
|