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 Bitdefender Endpoint Security for Mac and Sophos Endpoint to their makers' uninstallers

Țugui Dragoș86ff56601253
diff --git a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
index 6d2785f9..bca0993d 100644
--- a/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Removal/MakersUninstaller.swift
@@ -63,6 +63,16 @@ public struct MakersUninstaller: Sendable, Hashable {
.uninstaller("/Applications/FortiClientUninstaller.app"),
"https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-uninstall-FortiClient-on-macOS/ta-p/229617"
),
+ (
+ "GUNFMW623Y", ["com.bitdefender.endpointsecurityformac"], "Bitdefender",
+ .uninstaller("/Applications/Bitdefender/EndpointSecurityforMacUninstaller.app"),
+ "https://www.bitdefender.com/business/support/en/77209-87953-uninstalling-security-agents.html"
+ ),
+ (
+ "2H5GFH3774", ["com.sophos.endpoint.uiserver"], "Sophos",
+ .uninstaller("/Applications/Sophos/Remove Sophos Endpoint.app"),
+ "https://docs.sophos.com/esg/endpoint/help/en-us/help/Uninstall/"
+ ),
// 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.swift
index 1ca64fb8..2cd9b6c9 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/MakersUninstallerTests.swift
@@ -21,6 +21,14 @@ struct MakersUninstallerTests {
#expect(MakersUninstaller.of(agent("com.microsoft.wdav", team: "UBF8T346G9"))?.maker == "Microsoft")
#expect(MakersUninstaller.of(agent("com.netskope.client.Netskope-Client", team: "24W52P9M7W")) != nil)
#expect(MakersUninstaller.of(agent("com.fortinet.FortiClient", team: "AH4XFXJ7DK")) != nil)
+ #expect(
+ MakersUninstaller.of(agent("com.bitdefender.EndpointSecurityforMac", team: "GUNFMW623Y"))?.step
+ == .uninstaller(URL(filePath: "/Applications/Bitdefender/EndpointSecurityforMacUninstaller.app", directoryHint: .isDirectory))
+ )
+ #expect(
+ MakersUninstaller.of(agent("com.sophos.endpoint.uiserver", team: "2H5GFH3774"))?.step
+ == .uninstaller(URL(filePath: "/Applications/Sophos/Remove Sophos Endpoint.app", directoryHint: .isDirectory))
+ )
let eset = agent("com.eset.ees.g2", team: "P8DQRXPVLP", at: "/Applications/ESET Endpoint Security.app")
#expect(
MakersUninstaller.of(eset)?.step == .uninstaller(
diff --git a/SAFETY.md b/SAFETY.md
index 7e65d051..4c682c72 100644
--- a/SAFETY.md
+++ b/SAFETY.md
@@ -327,15 +327,15 @@ Only matches Peel is `certain` or `likely` about, and only when nothing else ins
helper 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 whose maker documents removing it with an uninstaller of its own (GlobalProtect,
-Cortex XDR, Cisco Secure Client, ESET Endpoint Security, Microsoft Defender, Netskope Client, and FortiClient) is
-listed the same way, and nothing of it can be selected: its page names the maker's uninstaller 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 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.
+A security or management agent 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, and Sophos Endpoint) is listed the same way, and nothing of it can be selected: its page
+names the maker's uninstaller 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 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