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 saved connections and remote access passwords unselected

Țugui Dragoșcf23eafdd08c
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
index b2d1ee22..5e8ee3bc 100644
--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift
@@ -228,6 +228,22 @@ enum KeptOnlyHere {
(".config/configstore", "firebase-tools.json", .holdsSignIns),
// ngrok's "Agent Configuration File": its `authtoken` is a setting there.
("Library/Application Support/ngrok", "ngrok.yml", .holdsSignIns),
+ // RustDesk's `config.rs`: this Mac's permanent password and keys, and the passwords saved for other computers.
+ ("Library/Preferences/com.carriez.RustDesk", nil, .holdsPasswordsOrCodes),
+ // TablePlus' "Connections" page: saved connections stay on this Mac unless a synced folder is chosen. Its
+ // folder from its cask.
+ ("Library/Application Support/com.tinyapp.TablePlus", nil, .holdsWorkMadeWithTheApp),
+ // Sequel Ace's "Migrating from Sequel Pro": its favorites, the saved connections.
+ (
+ "Library/Containers/com.sequel-ace.sequel-ace",
+ "Data/Library/Application Support/Sequel Ace/Data/Favorites.plist",
+ .holdsWorkMadeWithTheApp
+ ),
+ // MongoDB Compass' `connection-storage` and `compass-data-modeling`: saved connections and data models.
+ ("Library/Application Support/MongoDB Compass", "Connections", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/MongoDB Compass", "DataModelDescriptions", .holdsWorkMadeWithTheApp),
+ // Proxyman's "Lost data after updating Proxyman app?": its debugging rules, settings, and their backups.
+ ("Library/Application Support/com.proxyman.NSProxy", nil, .holdsWorkMadeWithTheApp),
]
/// The same, in the Library every account on the Mac shares.
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
index 6011aea7..6a2628e2 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift
@@ -108,6 +108,20 @@ struct KeptOnlyHereTests {
(".gemini/oauth_creds.json", .holdsSignIns),
(".config/configstore/firebase-tools.json", .holdsSignIns),
("Library/Application Support/ngrok/ngrok.yml", .holdsSignIns),
+ ("Library/Preferences/com.carriez.RustDesk", .holdsPasswordsOrCodes),
+ ("Library/Preferences/com.carriez.RustDesk/peers/123456789.toml", .holdsPasswordsOrCodes),
+ ("Library/Application Support/com.tinyapp.TablePlus", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/com.tinyapp.TablePlus/Data/Connections.plist", .holdsWorkMadeWithTheApp),
+ ("Library/Containers/com.sequel-ace.sequel-ace", .holdsWorkMadeWithTheApp),
+ (
+ "Library/Containers/com.sequel-ace.sequel-ace/Data/Library/Application Support/Sequel Ace/Data/Favorites.plist",
+ .holdsWorkMadeWithTheApp
+ ),
+ ("Library/Application Support/MongoDB Compass", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/MongoDB Compass/Connections/0f6c.json", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/MongoDB Compass/DataModelDescriptions/1a2b.json", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/com.proxyman.NSProxy", .holdsWorkMadeWithTheApp),
+ ("Library/Application Support/com.proxyman.NSProxy/user-data-backups/a.zip", .holdsWorkMadeWithTheApp),
("Library/Application Support/Tunnelblick/Configurations/work.tblk", .holdsVPNConnections),
("Library/Application Support/Viscosity", .holdsVPNConnections),
("Library/Application Support/Steam", .holdsWorkMadeWithTheApp),
@@ -173,6 +187,8 @@ struct KeptOnlyHereTests {
"Library/Application Support", "Library/Group Containers", "Library", "Library/Caches/Signal",
".duckdb/extensions", ".gitlab-runner/builds", ".mc/certs", ".gemini/tmp",
".config/configstore/update-notifier-npm.json", "Library/Application Support/ngrok/logs",
+ "Library/Preferences/com.carriez.RustDesk.plist", "Library/Application Support/MongoDB Compass/Cache",
+ "Library/Containers/com.sequel-ace.sequel-ace/Data/Library/Caches",
"Library/Application Support/Dolphin/Cache", "Library/Application Support/Dolphin/Logs",
"Library/Containers/com.microsoft.Word/Data/Library/Caches",
"Library/Containers/com.microsoft.Excel/Data/Library/Preferences",