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 LibreWolf's, Mullvad Browser's and Tor Browser's profiles unselected

Țugui Dragoș85ae5095f1f0
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
index 81ea5ee7..ddb01b32 100644
--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
@@ -44,10 +44,15 @@ enum KeptOnlyHere {
// Browsers built on Firefox keep the same profiles and save passwords as it does: Waterfox's
// `moz.configure` and Zen's `moz-configure.patch` name the folder (`MOZ_APP_PROFILE`), Zen's "Managing
// Firefox Profiles" says `logins.json` holds the saved passwords, and Floorp keeps them under its own name.
- // LibreWolf, Tor Browser and Mullvad Browser save none unless the person turns it on, so they aren't here.
("Library/Application Support/Waterfox", "Profiles", .holdsPasswordsOrCodes),
("Library/Application Support/zen", "Profiles", .holdsPasswordsOrCodes),
("Library/Application Support/Floorp", "Profiles", .holdsPasswordsOrCodes),
+ // LibreWolf, Mullvad Browser and Tor Browser save no passwords unless the person turns it on, but keep the
+ // bookmarks, and Tor Browser the keys added for onion services, which nothing syncs: LibreWolf's FAQ, Mullvad's
+ // "Install Mullvad Browser" and Tor Browser's manual, "Uninstalling", name the folders.
+ ("Library/Application Support/librewolf", "Profiles", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/MullvadBrowser", "Profiles", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/TorBrowser-Data", nil, .holdsWorkMadeWithTheApp),
// Chromium's `docs/user_data_dir.md` and `password_manager_constants.cc`: each browser's folder holds its
// profiles, most often `Default`, and a profile keeps the saved passwords in `Login Data`. Brave's folders are
// named by its `build/config.gni` and `BRANDING`. Opera's desktop blog names its folder, which before Opera 102
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
index 27fe89a0..b9ffc413 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
@@ -25,6 +25,11 @@ struct KeptOnlyHereTests {
("Library/Application Support/Waterfox", .holdsPasswordsOrCodes),
("Library/Application Support/zen/Profiles/pzrcsk7e.Default (release)/logins.json", .holdsPasswordsOrCodes),
("Library/Application Support/Floorp/Profiles/y5yiweov.default-default/key4.db", .holdsPasswordsOrCodes),
+ ("Library/Application Support/librewolf", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/LibreWolf/Profiles/7pwj3wse.default-default/places.sqlite", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/MullvadBrowser", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/TorBrowser-Data", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/TorBrowser-Data/Tor/onion-auth", .holdsWorkMadeWithTheApp),
("Library/Application Support/Google/Chrome", .holdsPasswordsOrCodes),
("Library/Application Support/Google/Chrome/Default/Login Data", .holdsPasswordsOrCodes),
("Library/Application Support/Google/Chrome Canary", .holdsPasswordsOrCodes),
@@ -110,6 +115,7 @@ struct KeptOnlyHereTests {
"Library/Application Support/Mozilla/NativeMessagingHosts/org.example.host.json",
"Library/Caches/Firefox/Profiles/abcd1234.default-release", "Library/Application Support/Google",
"Library/Caches/Waterfox/Profiles/b1p8ayxl.default-release", "Library/Caches/zen", "Library/Caches/Floorp",
+ "Library/Caches/librewolf", "Library/Caches/MullvadBrowser", "Library/Application Support/Tor Browser",
"Library/Application Support/Google/GoogleUpdater", "Library/Application Support/BraveSoftware",
"Library/Containers/com.culturedcode.ThingsMac", "Library/Caches/com.culturedcode.ThingsMac",
]