28 lines
1.1 KiB
Ruby
28 lines
1.1 KiB
Ruby
cask 'whatroute' do
|
|
version '2.1.1'
|
|
sha256 'f9723fd293ab40be6cb89edac138252c7666987d655b0b95b72224ffb298b1a3'
|
|
|
|
url "https://downloads.whatroute.net/software/whatroute-#{version}.zip"
|
|
appcast "https://www.whatroute.net/whatroute#{version.major}appcast.xml",
|
|
checkpoint: '309b8cf398dc462902975deabb5f745c4b3230e2f9a477a5a64e554f863cd9f0'
|
|
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
|