Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Leave Zscaler Client Connector and Arq to their makers' uninstallers
Țugui Dragoș841ced786f31
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 67de6ea4..324217b5 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -27,6 +27,8 @@ its changes the way [Keep a Changelog](https://keepachangelog.com/) suggests.uninstallers, which also turn off what they keep in the system, such as a kill switch or a network extension: theapp's page gives the command, opens the app whose own command removes it, or links the maker's instructions for theuninstaller on its disk image.+- Zscaler Client Connector and Arq are left to their makers' own uninstallers: Zscaler's asks for the uninstall password+ your organization set, and Arq's asks whether to delete its backup settings.- After a removal, Peel reads the files your shell runs when it starts and names the lines that still point to whatmoved, such as a `PATH` entry or an alias into the app, in the alert and in `peel uninstall`. It changes none of thesefiles.diff --git a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swiftindex d004289b..f325cf57 100644--- a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift+++ b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift@@ -1,8 +1,8 @@public import Foundation-/// A security or management agent, or a VPN, whose maker documents removing it with an uninstaller of its own, or such-/// an uninstaller itself. Moved from its place, what the product keeps in the system and the settings that manage it-/// would stay behind.+/// A security or management agent, a VPN, or a backup app whose maker documents removing it with an uninstaller of its+/// own, or such an uninstaller itself. Moved from its place, what the product keeps in the system and the settings that+/// manage it would stay behind.public struct MakersUninstaller: Sendable, Hashable {/// What the maker's page says to do.public enum Step: Sendable, Hashable {@@ -105,6 +105,16 @@ public struct MakersUninstaller: Sendable, Hashable {"WQXXM75BYN", ["com.electron.ivpn-ui", "net.ivpn.client"], "IVPN", .onItsDiskImage,"https://www.ivpn.net/knowledgebase/macos/macos-how-do-i-completely-uninstall-or-remove-the-ivpn-application/"),+ // Zscaler's guide for deploying with Jamf names the team and `com.zscaler` as the prefix of its apps.+ (+ "PCBCQZJ7S7", ["com.zscaler"], "Zscaler",+ .uninstaller("/Applications/Zscaler/UninstallApplication.app"),+ "https://help.zscaler.com/zscaler-client-connector/uninstalling-zscaler-client-connector"+ ),+ (+ "48ZCSDVL96", ["com.haystacksoftware.arq"], "Arq", .inTheApp,+ "https://www.arqbackup.com/documentation/arq7/English.lproj/troubleshooting.html"+ ),// The uninstaller's identifier, from Chromium's `remoting/branding_Chrome`; the host's own is not listed here.("EQHXZ8M8AV", ["com.google.chromeremotedesktop.me2me-host-uninstaller"], "Google",diff --git a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swiftindex 2bd6e662..f14c4a45 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift@@ -63,6 +63,18 @@ struct MakersUninstallerTests {#expect(MakersUninstaller.of(agent("com.electron.ivpn-ui", team: "ABCDE12345")) == nil)}+ @Test func knowsAnAgentAndABackupAppWhoseMakersDocumentTheirOwnUninstall() {+ let arq = agent("com.haystacksoftware.Arq", team: "48ZCSDVL96", at: "/Applications/Arq.app")++ #expect(+ MakersUninstaller.of(agent("com.zscaler.zscaler", team: "PCBCQZJ7S7"))?.step+ == .uninstaller(URL(filePath: "/Applications/Zscaler/UninstallApplication.app", directoryHint: .isDirectory))+ )+ #expect(MakersUninstaller.of(agent("com.zscaler.tray", team: "PCBCQZJ7S7"))?.maker == "Zscaler")+ #expect(MakersUninstaller.of(arq)?.step == .inTheApp(arq.url))+ #expect(MakersUninstaller.of(agent("com.zscaler.zscaler", team: "ABCDE12345")) == nil)+ }+@Test func knowsAnUninstallerItsMakerDocumentsOpeningToRemoveAProduct() {let path = "/Applications/Chrome Remote Desktop Host Uninstaller.app"let uninstaller = agent("com.google.chromeremotedesktop.me2me-host-uninstaller", team: "EQHXZ8M8AV", at: path)diff --git a/SAFETY.md b/SAFETY.mdindex 1a0cf8ce..251d5f66 100644--- a/SAFETY.md+++ b/SAFETY.md@@ -330,10 +330,10 @@ Only matches Peel is `certain` or `likely` about, and only when nothing else inshelper when its files went that way; one with anything left inside, a hidden file included, one with another name,and the Library folder itself stay.-A security or management agent, or a VPN, whose maker documents removing it with an uninstaller of its own-(GlobalProtect, Cortex XDR, Cisco Secure Client, ESET Endpoint Security, Microsoft Defender, Netskope Client,-FortiClient, Bitdefender Endpoint Security for Mac, Sophos Endpoint, ExpressVPN, Private Internet Access, Cloudflare-WARP, ZeroTier, Tunnelblick, and IVPN) is listed the same way, and nothing of it can be selected: its page names the+A security or management agent, a VPN, or a backup app whose maker documents removing it with an uninstaller of its+own (GlobalProtect, Cortex XDR, Cisco Secure Client, ESET Endpoint Security, Microsoft Defender, Netskope Client,+FortiClient, Bitdefender Endpoint Security for Mac, Sophos Endpoint, Zscaler Client Connector, ExpressVPN, Private+Internet Access, Cloudflare WARP, ZeroTier, Tunnelblick, IVPN, and Arq) is listed the same way, and nothing of it can be selected: its page names themaker's uninstaller, or opens the app whose own command removes it, and links to the maker's instructions, since movedfrom its place, what it keeps in the system and the settings that manage it would stay behind. Peel knows it by theteam its checked signature names and by its identifier, both as the maker documents or signs them, never by the