Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Leave Disk Drill and Malwarebytes to their own uninstall

Țugui Dragoșf061f6a79903
diff --git a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
index 8548f87f..90c68ad7 100644
--- a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
@@ -132,6 +132,14 @@ public struct MakersUninstaller: Sendable, Hashable {
"8Z259RPWAC", ["de.beyondco.herd"], "Beyond Code", .command("/Applications/Herd.app/Contents/Resources/uninstall"),
"https://herd.laravel.com/docs/macos/troubleshooting/uninstalling"
),
+ (
+ "Z6C22PNU8R", ["com.cleverfiles.diskdrill"], "CleverFiles", .inTheApp,
+ "https://www.cleverfiles.com/help/how-to-uninstall-disk-drill/"
+ ),
+ (
+ "GVZRY6KDKR", ["com.malwarebytes.mbam.frontend.application"], "Malwarebytes", .inTheApp,
+ "https://help.malwarebytes.com/hc/en-us/articles/31589300070683-Uninstall-Malwarebytes-for-Windows-and-Mac"
+ ),
(
"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.swift
index 7a89f2e1..25f54059 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift
@@ -83,6 +83,19 @@ struct MakersUninstallerTests {
#expect(MakersUninstaller.of(agent("de.beyondco.herd", team: "ABCDE12345")) == nil)
}
+ @Test func knowsADataRecoveryAppAndAMalwareScannerWhoseMakersDocumentTheirOwnUninstall() {
+ let diskDrill = agent("com.cleverfiles.DiskDrill", team: "Z6C22PNU8R", at: "/Applications/Disk Drill.app")
+ let malwarebytes = agent(
+ "com.malwarebytes.mbam.frontend.application", team: "GVZRY6KDKR", at: "/Applications/Malwarebytes.app"
+ )
+
+ #expect(MakersUninstaller.of(diskDrill)?.step == .inTheApp(diskDrill.url))
+ #expect(MakersUninstaller.of(diskDrill)?.maker == "CleverFiles")
+ #expect(MakersUninstaller.of(malwarebytes)?.step == .inTheApp(malwarebytes.url))
+ #expect(MakersUninstaller.of(malwarebytes)?.maker == "Malwarebytes")
+ #expect(MakersUninstaller.of(agent("com.cleverfiles.DiskDrill", 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.md
index 27147697..1569fee1 100644
--- a/SAFETY.md
+++ b/SAFETY.md
@@ -369,14 +369,13 @@ A security or management agent, a VPN, a backup app, or another app whose maker
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 the
-maker's uninstaller, or opens the app whose own command removes it, and links to the maker's instructions, since moved
-from its place, what it keeps in the system and the settings that manage it would stay behind. Peel knows it by the
-team its checked signature names and by its identifier, both as the maker documents or signs them, never by the
-identifier alone, which any app could claim.
-`peel uninstall` refuses it and names the same uninstaller. An uninstaller its maker documents opening to remove a
-product, such as Google's Chrome Remote Desktop Host Uninstaller, is treated the same way: moved on its own, it would
-leave the product installed, so its page offers to open it instead.
+Arq, Laravel Herd, Disk Drill, and Malwarebytes) is listed the same way, and nothing of it can be selected: its page
+names the maker's uninstaller, or opens the app whose own command removes it, and links to the maker's instructions,
+since moved from its place, what it keeps in the system and the settings that manage it would stay behind. Peel knows it
+by the team its checked signature names and by its identifier, both as the maker documents or signs them, never by the
+identifier alone, which any app could claim. `peel uninstall` refuses it and names the same uninstaller. An uninstaller
+its maker documents opening to remove a product, such as Google's Chrome Remote Desktop Host Uninstaller, is treated the
+same way: moved on its own, it would leave the product installed, so its page offers to open it instead.
An app carrying a system extension macOS installed, such as a VPN's network extension or a virtual camera, is listed
the same way, and nothing of it can be selected: moved by Peel, the app would leave the extension installed, while