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 Laravel Herd to its own uninstaller
Țugui Dragoș35316b66dd81
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.mdindex 70fc3e24..9d819100 100644--- a/ARCHITECTURE.md+++ b/ARCHITECTURE.md@@ -140,8 +140,8 @@ the Homebrew page's uninstall and cleanups are Homebrew's own.(`AppExtensions.installed(carriedBy:asking:)`, which also says whether System Settings deletes every one:`AppExtension.systemSettingsDeletesIt`, a network extension on macOS 27, by the category `systemextensionsctl`lists it under).- - A security or management agent, or a VPN, whose maker removes it with an uninstaller of its own is left to that- uninstaller (`RemovedElsewhere.byItsMaker`, `MakersUninstaller`), and so is an uninstaller app its maker+ - A security or management agent, a VPN, or another app whose maker removes it with an uninstaller of its own is left+ to that uninstaller (`RemovedElsewhere.byItsMaker`, `MakersUninstaller`), and so is an uninstaller app its makerdocuments, such as Chrome Remote Desktop Host Uninstaller. Each is known by its checked signing team and theidentifier its maker documents or signs; its page names the maker's step, opens the app whose own command removesit, or points to the uninstaller on the app's disk image, and links the instructions, nothing of it is selected ordiff --git a/GUIDE.md b/GUIDE.mdindex f0e1b4a2..4ec71b15 100644--- a/GUIDE.md+++ b/GUIDE.md@@ -44,9 +44,9 @@ and how to get it, [SAFETY.md](SAFETY.md) what it protects, [PRIVACY.md](PRIVACYwith how to remove them in Finder.- **Some apps go another way.** An app that installed a system extension, such as a VPN or a virtual camera, islisted with its files and nothing selected: only Finder's move to the Trash asks macOS to remove the extension, so- its page says to move it there. A security or management agent, or a VPN, whose maker documents an uninstaller of- its own, such as GlobalProtect, Microsoft Defender, or ExpressVPN, is left to that uninstaller, and its page says- how. An app that runs+ its page says to move it there. A security or management agent, a VPN, or another app whose maker documents an+ uninstaller of its own, such as GlobalProtect, Microsoft Defender, ExpressVPN, or Laravel Herd, is left to that+ uninstaller, and its page says how. An app that runsits own uninstaller once it leaves the Applications folder, such as Mullvad VPN or Citrix Workspace, is moved onlyafter Peel tells you what that uninstaller will do. Peel itself goes only with Remove Peel, in Settings > General.- **Open apps quit first.** Peel asks an app that is open to quit before anything of it moves, and looks again atdiff --git a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swiftindex 0c5a07a2..8548f87f 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, 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.+/// A security or management agent, a VPN, a backup app, or another 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 {@@ -128,6 +128,10 @@ public struct MakersUninstaller: Sendable, Hashable {.uninstaller("/Applications/Zscaler/UninstallApplication.app"),"https://help.zscaler.com/zscaler-client-connector/uninstalling-zscaler-client-connector"),+ (+ "8Z259RPWAC", ["de.beyondco.herd"], "Beyond Code", .command("/Applications/Herd.app/Contents/Resources/uninstall"),+ "https://herd.laravel.com/docs/macos/troubleshooting/uninstalling"+ ),("48ZCSDVL96", ["com.haystacksoftware.arq"], "Arq", .inTheApp,"https://www.arqbackup.com/documentation/arq7/English.lproj/troubleshooting.html"diff --git a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swiftindex 66fb4bea..7a89f2e1 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift@@ -75,6 +75,14 @@ struct MakersUninstallerTests {#expect(MakersUninstaller.of(agent("com.zscaler.zscaler", team: "ABCDE12345")) == nil)}+ @Test func knowsALocalServerStackWhoseMakerSaysToUseItsOwnUninstall() {+ let herd = agent("de.beyondco.herd", team: "8Z259RPWAC", at: "/Applications/Herd.app")++ #expect(MakersUninstaller.of(herd)?.step == .command("/Applications/Herd.app/Contents/Resources/uninstall"))+ #expect(MakersUninstaller.of(herd)?.maker == "Beyond Code")+ #expect(MakersUninstaller.of(agent("de.beyondco.herd", team: "ABCDE12345")) == nil)+ }+@Test func givesTheUninstallScriptOfTheCiscoClientThatIsOnTheMac() {let anyConnect = agent("com.cisco.anyconnect.gui", team: "DE8Y96K9QP")let secureClient = "/opt/cisco/secureclient/bin/cisco_secure_client_uninstall.sh"diff --git a/SAFETY.md b/SAFETY.mdindex 6d58dc69..27147697 100644--- a/SAFETY.md+++ b/SAFETY.md@@ -365,11 +365,11 @@ 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,one macOS keeps for its own services under that name, and the Library folder itself stay.-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 and AnyConnect, ESET Endpoint Security, Microsoft Defender,-Netskope Client, FortiClient, Bitdefender Endpoint Security for Mac, Sophos Endpoint, Symantec Endpoint Protection,-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 the+A security or management agent, a VPN, a backup app, or another app whose maker documents removing it with an+uninstaller of its own (GlobalProtect, Cortex XDR, Cisco Secure Client and AnyConnect, ESET Endpoint Security, Microsoft+Defender, Netskope Client, FortiClient, Bitdefender Endpoint Security for Mac, Sophos Endpoint, Symantec Endpoint+Protection, Zscaler Client Connector, ExpressVPN, Private Internet Access, Cloudflare WARP, ZeroTier, Tunnelblick, IVPN,+Arq, and Laravel Herd) 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