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.

Keep Little Snitch's rules, GPT4All's chats and Topaz presets unselected

Țugui Dragoșcb7e3f57fab2
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
index a4503b1d..e42dc41e 100644
--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
@@ -121,6 +121,13 @@ enum KeptOnlyHere {
// Open WebUI's desktop app runs Open WebUI with its data, the chats among them, in `data`
// (`src/main/utils/index.ts`).
("Library/Application Support/open-webui", "data", .holdsWorkMadeWithTheApp),
+ // Objective Development's "How can I uninstall Little Snitch 4?": the person's rules and settings are here and
+ // in `Objective Development/Little Snitch` in the Library every account shares.
+ ("Library/Application Support/Little Snitch", nil, .holdsWorkMadeWithTheApp),
+ // GPT4All's "Settings" names its folder, and its 2.4.1 release notes keep saved chats beside the models there.
+ ("Library/Application Support/nomic.ai/GPT4All", nil, .holdsWorkMadeWithTheApp),
+ // Topaz Photo's "Presets": the presets the person made, which can be shared.
+ ("Library/Application Support/Topaz Labs LLC/Topaz Photo", "Presets", .holdsWorkMadeWithTheApp),
// Cultured Code's "Completely Uninstalling Things": deleting this group container deletes the to-dos.
("Library/Group Containers/JLMPQHK86H.com.culturedcode.ThingsMac", nil, .holdsWorkMadeWithTheApp),
// OBS Studio keeps its profiles and scene collections in `obs-studio/basic` in its configuration folder
@@ -183,6 +190,8 @@ enum KeptOnlyHere {
// inside the app.
("Library/Application Support/Tunnelblick", "Shared", .holdsVPNConnections),
("Library/Application Support/Tunnelblick", "Backup", .holdsVPNConnections),
+ // Little Snitch's rules and settings, from the same page as its folder in the home.
+ ("Library/Application Support/Objective Development/Little Snitch", nil, .holdsWorkMadeWithTheApp),
// MAMP PRO's "Uninstall MAMP PRO": uninstalling it removes the databases kept here.
("Library/Application Support/appsolute/MAMP PRO", "db", .holdsWorkMadeWithTheApp),
]
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
index fa6be94f..fa68ca5e 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
@@ -72,6 +72,11 @@ struct KeptOnlyHereTests {
("Library/Application Support/Jan/data/agent-workspace/skills", .holdsWorkMadeWithTheApp),
("Library/Application Support/Jan/data/agent-workspace/subagents", .holdsWorkMadeWithTheApp),
("Library/Application Support/open-webui/data/webui.db", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/Little Snitch", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/nomic.ai/GPT4All", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/nomic.ai/GPT4All/gpt4all-1234.chat", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/Topaz Labs LLC/Topaz Photo", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/Topaz Labs LLC/Topaz Photo/Presets/Portrait.tpp", .holdsWorkMadeWithTheApp),
("Library/Application Support/Tunnelblick/Configurations/work.tblk", .holdsVPNConnections),
("Library/Application Support/Viscosity", .holdsVPNConnections),
("Library/Application Support/Steam", .holdsWorkMadeWithTheApp),
@@ -123,6 +128,8 @@ struct KeptOnlyHereTests {
("Library/Application Support/Tunnelblick/Shared/Office.tblk", .holdsVPNConnections),
("Library/Application Support/Tunnelblick/Backup/Deployed/Office.tblk", .holdsVPNConnections),
("Library/Application Support/appsolute/MAMP PRO", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/Objective Development/Little Snitch", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/Objective Development/Little Snitch/rules.xpl", .holdsWorkMadeWithTheApp),
("Library/Application Support/appsolute/MAMP PRO/db/mysql80/shop", .holdsWorkMadeWithTheApp),
]
for (path, reason) in heldOnTheMac {
@@ -133,6 +140,8 @@ struct KeptOnlyHereTests {
@Test func leavesWhatSitsBesideOrAroundThem() {
let free = [
"Library/Application Support", "Library/Group Containers", "Library", "Library/Caches/Signal",
+ "Library/Application Support/nomic.ai", "Library/Application Support/Topaz Labs LLC",
+ "Library/Application Support/Topaz Labs LLC/Topaz Photo/models",
"Library/Application Support/Herd/Log/mail", "Library/Application Support/Herd/bin",
"Library/Application Support/Jan/data/llamacpp/models", "Library/Application Support/Jan/data/logs",
"Library/Application Support/Jan/data/agent-workspace/sessions", "Library/Application Support/open-webui/logs",
@@ -168,6 +177,7 @@ struct KeptOnlyHereTests {
#expect(KeptOnlyHere.reason(for: "\(home)/\(path)", home: home, root: "/") == nil, "\(path)")
}
let freeOnTheMac = [
+ "Library/Application Support/Objective Development",
"Library/Application Support/appsolute/MAMP PRO/templates", "Library/Application Support/appsolute",
"Library/Application Support/ZeroTier/Other", "Library/Application Support/Tunnelblick/Logs",
"Library/Application Support/Tunnelblick/Users/me", "Library/Application Support/Signal",