Update whatroute - appcast / uninstall (#37233)
This commit is contained in:
parent
0d9fb4df95
commit
3eb45c6ccf
|
@ -3,6 +3,8 @@ cask 'whatroute' do
|
|||
sha256 '3d78079f4d0bf72de5d02c5c1b8edcb60909ce6ca3053cbb7135a8f89fa968e1'
|
||||
|
||||
url "https://downloads.whatroute.net/software/whatroute-#{version}.zip"
|
||||
appcast "https://www.whatroute.net/whatroute#{version.major}appcast.xml",
|
||||
checkpoint: 'c1e70b8848633c76a64c3ed998d6111482dd131c0c8426fa5ff6e9d5681c3fe6'
|
||||
name 'WhatRoute'
|
||||
homepage 'https://www.whatroute.net/'
|
||||
|
||||
|
@ -10,11 +12,16 @@ cask 'whatroute' do
|
|||
|
||||
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 delete: [
|
||||
'/Library/LaunchDaemons/net.whatroute.whatroute2helper.plist',
|
||||
'/Library/PrivilegedHelperTools/net.whatroute.whatroute2helper',
|
||||
'~/Library/Caches/net.whatroute.whatroute2',
|
||||
'~/Library/Logs/net.whatroute.whatroute2',
|
||||
'~/Library/Preferences/net.whatroute.whatroute2.plist',
|
||||
]
|
||||
"~/Library/Caches/net.whatroute.whatroute#{version.major}",
|
||||
"~/Library/Logs/net.whatroute.whatroute#{version.major}",
|
||||
],
|
||||
trash: "~/Library/Preferences/net.whatroute.whatroute#{version.major}.plist"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue