mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
various: update uninstall and zap method order
This commit is contained in:
@@ -20,8 +20,8 @@ cask "adguard-vpn" do
|
||||
|
||||
pkg "AdGuard VPN.pkg"
|
||||
|
||||
uninstall quit: "com.adguard.mac.vpn",
|
||||
launchctl: "com.adguard.mac.vpn.tun-helper",
|
||||
uninstall launchctl: "com.adguard.mac.vpn.tun-helper",
|
||||
quit: "com.adguard.mac.vpn",
|
||||
pkgutil: "com.adguard.mac.vpn-pkg",
|
||||
delete: [
|
||||
"/Library/Application Support/AdGuard Software/com.adguard.mac.vpn",
|
||||
|
||||
+6
-6
@@ -20,14 +20,14 @@ cask "adguard" do
|
||||
|
||||
pkg "AdGuard.pkg"
|
||||
|
||||
uninstall quit: "com.adguard.mac.adguard",
|
||||
pkgutil: "com.adguard.mac.adguard-pkg",
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.adguard.mac.adguard.pac",
|
||||
"com.adguard.mac.adguard.helper",
|
||||
"com.adguard.mac.adguard.tun-helper",
|
||||
"com.adguard.mac.adguard.xpcgate2",
|
||||
],
|
||||
quit: "com.adguard.mac.adguard",
|
||||
pkgutil: "com.adguard.mac.adguard-pkg",
|
||||
delete: [
|
||||
"/Library/Application Support/AdGuard Software/com.adguard.mac.adguard",
|
||||
"/Library/Application Support/com.adguard.Adguard",
|
||||
@@ -35,7 +35,8 @@ cask "adguard" do
|
||||
],
|
||||
rmdir: "/Library/Application Support/AdGuard Software"
|
||||
|
||||
zap trash: [
|
||||
zap delete: "/Library/Logs/com.adguard.mac.adguard",
|
||||
trash: [
|
||||
"~/Library/Application Scripts/*.com.adguard.mac*",
|
||||
"~/Library/Application Support/Adguard",
|
||||
"~/Library/Application Support/com.adguard.*",
|
||||
@@ -48,6 +49,5 @@ cask "adguard" do
|
||||
"~/Library/Logs/Adguard",
|
||||
"~/Library/Preferences/com.adguard.*.plist",
|
||||
"~/Library/Saved Application State/com.adguard.mac.adguard.savedState",
|
||||
],
|
||||
delete: "/Library/Logs/com.adguard.mac.adguard"
|
||||
]
|
||||
end
|
||||
|
||||
@@ -18,13 +18,7 @@ cask "adobe-acrobat-pro" do
|
||||
|
||||
pkg "Acrobat/Acrobat DC Installer.pkg"
|
||||
|
||||
uninstall pkgutil: [
|
||||
"com.adobe.acrobat.DC.*",
|
||||
"com.adobe.AcroServicesUpdater",
|
||||
"com.adobe.armdc.app.pkg",
|
||||
"com.adobe.PDApp.AdobeApplicationManager.installer.pkg",
|
||||
],
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"Adobe_Genuine_Software_Integrity_Service",
|
||||
"com.adobe.AAM.Startup-1.0",
|
||||
"com.adobe.AAM.Updater-1.0",
|
||||
@@ -33,6 +27,12 @@ cask "adobe-acrobat-pro" do
|
||||
"com.adobe.ARMDC.SMJobBlessHelper",
|
||||
"com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d",
|
||||
],
|
||||
pkgutil: [
|
||||
"com.adobe.acrobat.DC.*",
|
||||
"com.adobe.AcroServicesUpdater",
|
||||
"com.adobe.armdc.app.pkg",
|
||||
"com.adobe.PDApp.AdobeApplicationManager.installer.pkg",
|
||||
],
|
||||
delete: "/Applications/Adobe Acrobat DC/"
|
||||
|
||||
zap trash: [
|
||||
|
||||
@@ -16,7 +16,17 @@ cask "adobe-acrobat-reader" do
|
||||
|
||||
pkg "AcroRdrDC_#{version.no_dots}_MUI.pkg"
|
||||
|
||||
uninstall pkgutil: [
|
||||
uninstall launchctl: [
|
||||
"com.adobe.ARMDC.Communicator",
|
||||
"com.adobe.ARMDC.SMJobBlessHelper",
|
||||
"com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d",
|
||||
],
|
||||
quit: [
|
||||
"com.adobe.AdobeRdrCEF",
|
||||
"com.adobe.AdobeRdrCEFHelper",
|
||||
"com.adobe.Reader",
|
||||
],
|
||||
pkgutil: [
|
||||
"com.adobe.acrobat.DC.reader.*",
|
||||
"com.adobe.armdc.app.pkg",
|
||||
"com.adobe.RdrServicesUpdater",
|
||||
@@ -24,16 +34,6 @@ cask "adobe-acrobat-reader" do
|
||||
delete: [
|
||||
"/Applications/Adobe Acrobat Reader.app",
|
||||
"/Library/Preferences/com.adobe.reader.DC.WebResource.plist",
|
||||
],
|
||||
quit: [
|
||||
"com.adobe.AdobeRdrCEF",
|
||||
"com.adobe.AdobeRdrCEFHelper",
|
||||
"com.adobe.Reader",
|
||||
],
|
||||
launchctl: [
|
||||
"com.adobe.ARMDC.Communicator",
|
||||
"com.adobe.ARMDC.SMJobBlessHelper",
|
||||
"com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d",
|
||||
]
|
||||
|
||||
zap trash: [
|
||||
|
||||
@@ -14,14 +14,14 @@ cask "airparrot" do
|
||||
|
||||
app "AirParrot #{version.major}.app"
|
||||
|
||||
uninstall kext: [
|
||||
uninstall quit: "com.squirrels.AirParrot-#{version.major}",
|
||||
kext: [
|
||||
"/Library/Extensions/AirParrotDriver.kext",
|
||||
"/Library/Extensions/APExtFramebuffer.kext",
|
||||
"/System/Library/Extensions/AirParrotDriver.kext",
|
||||
"/System/Library/Extensions/APExtFramebuffer.kext",
|
||||
"com.squirrels.driver.AirParrotSpeakers",
|
||||
],
|
||||
quit: "com.squirrels.AirParrot-#{version.major}"
|
||||
]
|
||||
|
||||
zap trash: "~/Library/Preferences/com.squirrels.AirParrot-*.plist"
|
||||
end
|
||||
|
||||
+3
-3
@@ -21,12 +21,12 @@ cask "airtool" do
|
||||
set_ownership "/Library/Application Support/Airtool #{version.major}"
|
||||
end
|
||||
|
||||
uninstall pkgutil: [
|
||||
uninstall launchctl: "com.intuitibits.airtool#{version.major}.airtool-bpf",
|
||||
login_item: "Airtool",
|
||||
pkgutil: [
|
||||
"com.intuitibits.airtool-helper.pkg",
|
||||
"com.intuitibits.airtool#{version.major}.pkg",
|
||||
],
|
||||
launchctl: "com.intuitibits.airtool#{version.major}.airtool-bpf",
|
||||
login_item: "Airtool",
|
||||
delete: "/Library/Application Support/Airtool #{version.major}"
|
||||
|
||||
zap trash: [
|
||||
|
||||
+2
-2
@@ -17,8 +17,8 @@ cask "aldente" do
|
||||
|
||||
app "AlDente.app"
|
||||
|
||||
uninstall quit: "com.apphousekitchen.aldente-pro",
|
||||
launchctl: "com.apphousekitchen.aldente-pro.helper",
|
||||
uninstall launchctl: "com.apphousekitchen.aldente-pro.helper",
|
||||
quit: "com.apphousekitchen.aldente-pro",
|
||||
login_item: "AlDente",
|
||||
delete: "/Library/PrivilegedHelperTools/com.apphousekitchen.aldente-pro.helper"
|
||||
|
||||
|
||||
+2
-2
@@ -20,8 +20,8 @@ cask "alfred" do
|
||||
|
||||
app "Alfred #{version.major}.app"
|
||||
|
||||
uninstall login_item: "Alfred#{version.major}",
|
||||
quit: "com.runningwithcrayons.Alfred"
|
||||
uninstall quit: "com.runningwithcrayons.Alfred",
|
||||
login_item: "Alfred#{version.major}"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/Alfred",
|
||||
|
||||
@@ -20,15 +20,15 @@ cask "amazon-music" do
|
||||
executable: "Amazon Music Installer.app/Contents/MacOS/installbuilder.sh",
|
||||
}
|
||||
|
||||
uninstall quit: [
|
||||
uninstall launchctl: [
|
||||
"com.amazon.music",
|
||||
"com.amazon.music.startup",
|
||||
],
|
||||
quit: [
|
||||
"com.amazon.music",
|
||||
"com.amazon.music-renderer",
|
||||
],
|
||||
delete: "/Applications/Amazon Music.app",
|
||||
launchctl: [
|
||||
"com.amazon.music",
|
||||
"com.amazon.music.startup",
|
||||
]
|
||||
delete: "/Applications/Amazon Music.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/Amazon Music",
|
||||
|
||||
@@ -19,9 +19,9 @@ cask "amazon-photos" do
|
||||
args: ["--quiet"],
|
||||
}
|
||||
|
||||
uninstall quit: "com.amazon.clouddrive.mac",
|
||||
delete: "/Applications/Amazon Photos.app",
|
||||
launchctl: "com.amazon.clouddrive"
|
||||
uninstall launchctl: "com.amazon.clouddrive",
|
||||
quit: "com.amazon.clouddrive.mac",
|
||||
delete: "/Applications/Amazon Photos.app"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Scripts/Amazon Cloud Drive",
|
||||
|
||||
@@ -19,12 +19,12 @@ cask "amazon-workdocs-drive" do
|
||||
|
||||
pkg "AmazonWorkDocsDrive.pkg"
|
||||
|
||||
uninstall signal: ["TERM", "com.Amazon.WorkDocs.Drive"],
|
||||
uninstall launchctl: "com.Amazon.WorkDocs.DriveUpdater",
|
||||
signal: ["TERM", "com.Amazon.WorkDocs.Drive"],
|
||||
pkgutil: [
|
||||
"com.Amazon.WorkDocs.Drive",
|
||||
"com.Amazon.WorkDocs.Drive.pkg.core",
|
||||
],
|
||||
launchctl: "com.Amazon.WorkDocs.DriveUpdater"
|
||||
]
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Scripts/com.Amazon.WorkDocs.DriveFinderExtension",
|
||||
|
||||
@@ -35,8 +35,8 @@ cask "appcleaner" do
|
||||
|
||||
app "AppCleaner.app"
|
||||
|
||||
uninstall quit: "net.freemacsoft.AppCleaner",
|
||||
launchctl: "net.freemacsoft.AppCleaner-SmartDelete"
|
||||
uninstall launchctl: "net.freemacsoft.AppCleaner-SmartDelete",
|
||||
quit: "net.freemacsoft.AppCleaner"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Caches/net.freemacsoft.AppCleaner",
|
||||
|
||||
@@ -55,8 +55,7 @@ cask "appgate-sdp-client" do
|
||||
|
||||
pkg "AppGate SDP Installer.pkg"
|
||||
|
||||
uninstall pkgutil: "com.appgate.pkg.appgatetun.component",
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.appgate.sdp.client.agent",
|
||||
"com.appgate.sdp.tun",
|
||||
"com.appgate.sdp.updater",
|
||||
@@ -70,7 +69,8 @@ cask "appgate-sdp-client" do
|
||||
"com.cyxtera.appgate.helper",
|
||||
"com.cyxtera.appgate.sdp",
|
||||
],
|
||||
signal: ["QUIT", "com.cyxtera.appgate"]
|
||||
signal: ["QUIT", "com.cyxtera.appgate"],
|
||||
pkgutil: "com.appgate.pkg.appgatetun.component"
|
||||
|
||||
zap trash: [
|
||||
"~/Library/Application Support/appgate-ui",
|
||||
|
||||
@@ -14,7 +14,7 @@ cask "arq-cloud-backup" do
|
||||
|
||||
pkg "Install Arq Cloud Backup.pkg"
|
||||
|
||||
uninstall pkgutil: "com.haystacksoftware.ArqCloudBackup",
|
||||
uninstall launchctl: "com.haystacksoftware.arqcloudagent",
|
||||
quit: "com.haystacksoftware.ArqCloudBackup",
|
||||
launchctl: "com.haystacksoftware.arqcloudagent"
|
||||
pkgutil: "com.haystacksoftware.ArqCloudBackup"
|
||||
end
|
||||
|
||||
+5
-5
@@ -16,13 +16,13 @@ cask "arq" do
|
||||
|
||||
pkg "Arq#{version}.pkg"
|
||||
|
||||
uninstall pkgutil: "com.haystacksoftware.Arq",
|
||||
quit: "com.haystacksoftware.Arq",
|
||||
delete: "/Applications/Arq.app",
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.haystacksoftware.arqagent",
|
||||
"com.haystacksoftware.ArqMonitor",
|
||||
]
|
||||
],
|
||||
quit: "com.haystacksoftware.Arq",
|
||||
pkgutil: "com.haystacksoftware.Arq",
|
||||
delete: "/Applications/Arq.app"
|
||||
|
||||
zap trash: [
|
||||
"/Library/Application Support/ArqAgent",
|
||||
|
||||
@@ -23,11 +23,11 @@ cask "asciidocfx" do
|
||||
sudo: true,
|
||||
}
|
||||
|
||||
zap trash: [
|
||||
zap delete: "/Library/Preferences/com.install4j.installations.plist",
|
||||
trash: [
|
||||
"~/.AsciidocFX-#{version}",
|
||||
"~/Library/Preferences/com.install4j.7853-9376-5862-1224.24.plist",
|
||||
"~/Library/Preferences/com.install4j.installations.plist",
|
||||
"~/Library/Saved Application State/com.install4j.7853-9376-5862-1224.24.savedState",
|
||||
],
|
||||
delete: "/Library/Preferences/com.install4j.installations.plist"
|
||||
]
|
||||
end
|
||||
|
||||
+10
-10
@@ -17,15 +17,7 @@ cask "atok" do
|
||||
|
||||
pkg "ATOK インストーラ.pkg"
|
||||
|
||||
uninstall pkgutil: [
|
||||
"com.justsystems.atok#{version.major}.doc.pkg",
|
||||
"com.justsystems.atok#{version.major}.pkg",
|
||||
"com.justsystems.atok#{version.major}.quicklook.pkg",
|
||||
"com.justsystems.atok#{version.major}.sync.pkg",
|
||||
"com.justsystems.JustOnlineUpdate.pkg",
|
||||
"com.justsystems.pkg.lma",
|
||||
],
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.justsystems.atok#{version.major}.enabler",
|
||||
"com.justsystems.inputmethod.atok#{version.major}",
|
||||
"com.justsystems.launchd.Atok#{version.major}.AlBg",
|
||||
@@ -34,5 +26,13 @@ cask "atok" do
|
||||
"com.justsystems.launchd.UpdateChecker",
|
||||
"com.justsystems.OnlineUpdate",
|
||||
],
|
||||
quit: "com.justsystems.UpdateChecker"
|
||||
quit: "com.justsystems.UpdateChecker",
|
||||
pkgutil: [
|
||||
"com.justsystems.atok#{version.major}.doc.pkg",
|
||||
"com.justsystems.atok#{version.major}.pkg",
|
||||
"com.justsystems.atok#{version.major}.quicklook.pkg",
|
||||
"com.justsystems.atok#{version.major}.sync.pkg",
|
||||
"com.justsystems.JustOnlineUpdate.pkg",
|
||||
"com.justsystems.pkg.lma",
|
||||
]
|
||||
end
|
||||
|
||||
@@ -16,16 +16,16 @@ cask "avast-security" do
|
||||
# pkg cannot be installed automatically
|
||||
installer manual: "Install Avast Security.pkg"
|
||||
|
||||
uninstall script: {
|
||||
executable: "/Applications/Avast.app/Contents/Backend/hub/uninstall.sh",
|
||||
must_succeed: false, # A non-0 exit code may be given even if the uninstall succeeds (https://github.com/Homebrew/homebrew-cask/issues/21740#issuecomment-224094946).
|
||||
sudo: true,
|
||||
},
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.avast.hub",
|
||||
"com.avast.hub.schedule",
|
||||
"com.avast.hub.xpc",
|
||||
],
|
||||
script: {
|
||||
executable: "/Applications/Avast.app/Contents/Backend/hub/uninstall.sh",
|
||||
must_succeed: false, # A non-0 exit code may be given even if the uninstall succeeds (https://github.com/Homebrew/homebrew-cask/issues/21740#issuecomment-224094946).
|
||||
sudo: true,
|
||||
},
|
||||
pkgutil: [
|
||||
"com.avast.AAFM",
|
||||
"com.avast.pkg.hub",
|
||||
|
||||
@@ -15,16 +15,16 @@ cask "avg-antivirus" do
|
||||
|
||||
pkg "AVG AntiVirus.pkg"
|
||||
|
||||
uninstall script: {
|
||||
executable: "/Applications/AVGAntivirus.app/Contents/Backend/hub/uninstall.sh",
|
||||
sudo: true,
|
||||
},
|
||||
pkgutil: "com.avg.pkg.hub",
|
||||
launchctl: [
|
||||
uninstall launchctl: [
|
||||
"com.avg.hub",
|
||||
"com.avg.hub.schedule",
|
||||
"com.avg.hub.xpc",
|
||||
]
|
||||
],
|
||||
script: {
|
||||
executable: "/Applications/AVGAntivirus.app/Contents/Backend/hub/uninstall.sh",
|
||||
sudo: true,
|
||||
},
|
||||
pkgutil: "com.avg.pkg.hub"
|
||||
|
||||
zap trash: [
|
||||
"/Library/Application Support/AVGAntivirus",
|
||||
|
||||
@@ -15,7 +15,7 @@ cask "aviatrix-vpn-client" do
|
||||
|
||||
pkg "AVPNC_mac.pkg"
|
||||
|
||||
uninstall pkgutil: "com.Aviatrix.VPNClient",
|
||||
delete: "/Applications/Aviatrix VPN Client.app",
|
||||
launchctl: "aviatrix.vpn.client.rp.plist"
|
||||
uninstall launchctl: "aviatrix.vpn.client.rp.plist",
|
||||
pkgutil: "com.Aviatrix.VPNClient",
|
||||
delete: "/Applications/Aviatrix VPN Client.app"
|
||||
end
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user