27 lines
1000 B
Ruby
27 lines
1000 B
Ruby
cask 'whatroute' do
|
|
version '2.1.8'
|
|
sha256 'b7cf2be3a4704f9cfea3342451989fdaa8a211841ca015bbfbae1cae279edc80'
|
|
|
|
url "https://downloads.whatroute.net/software/whatroute-#{version}.zip"
|
|
appcast "https://www.whatroute.net/whatroute#{version.major}appcast.xml"
|
|
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
|