Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Keep more tools' saved sign-ins and passwords unselected
Țugui Dragoș88bf7d638884
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swiftindex d1bd5a22..b2d1ee22 100644--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift@@ -201,6 +201,33 @@ enum KeptOnlyHere {(".azure", nil, .holdsSignIns),// Terraform's `terraform login`: the token goes in plain text to `~/.terraform.d/credentials.tfrc.json`.(".terraform.d", "credentials.tfrc.json", .holdsSignIns),+ // PostgreSQL's "The Password File": passwords for its connections.+ (".pgpass", nil, .holdsPasswordsOrCodes),+ // Vault's token helpers: the default one keeps the token in `~/.vault-token`.+ (".vault-token", nil, .holdsSignIns),+ // MinIO Client's configuration file, with each alias's access and secret keys.+ (".mc", "config.json", .holdsSignIns),+ // Cloudflare's "Useful terms": the tunnels' credentials files and the `cert.pem` of `cloudflared login`.+ (".cloudflared", nil, .holdsSignIns),+ // GitLab Runner's "Commands": its configuration file when it runs as a person.+ (".gitlab-runner", "config.toml", .holdsSignIns),+ // Jenkins' home is `~/.jenkins` unless one is named (`WebAppMain`), and "Backing up" keeps the credentials in+ // `secrets`.+ (".jenkins", "secrets", .holdsPasswordsOrCodes),+ // n8n's "Set a custom encryption key": the key its saved credentials are encrypted with.+ (".n8n", nil, .holdsPasswordsOrCodes),+ // DuckDB's "Secrets Manager": its persistent secrets.+ (".duckdb", "stored_secrets", .holdsSignIns),+ // mcp-remote's README: all its credential information.+ (".mcp-auth", nil, .holdsSignIns),+ // gsutil's boto configuration file and its `[Credentials]`.+ (".boto", nil, .holdsSignIns),+ // Gemini CLI's `storage.ts`: its sign-in.+ (".gemini", "oauth_creds.json", .holdsSignIns),+ // Firebase CLI's `auth.ts` keeps its tokens in its Configstore, named after the package.+ (".config/configstore", "firebase-tools.json", .holdsSignIns),+ // ngrok's "Agent Configuration File": its `authtoken` is a setting there.+ ("Library/Application Support/ngrok", "ngrok.yml", .holdsSignIns),]/// 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.swiftindex 03274f1e..6011aea7 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift@@ -94,6 +94,20 @@ struct KeptOnlyHereTests {("Library/Application Support/Dolphin/GC/USA/Card A", .holdsWorkMadeWithTheApp),("Library/Application Support/Dolphin/Wii/title", .holdsWorkMadeWithTheApp),("Library/Application Support/Dolphin/StateSaves/GALE01.s01", .holdsWorkMadeWithTheApp),+ (".pgpass", .holdsPasswordsOrCodes),+ (".vault-token", .holdsSignIns),+ (".mc/config.json", .holdsSignIns),+ (".cloudflared/cert.pem", .holdsSignIns),+ (".gitlab-runner/config.toml", .holdsSignIns),+ (".jenkins", .holdsPasswordsOrCodes),+ (".jenkins/secrets/master.key", .holdsPasswordsOrCodes),+ (".n8n/config", .holdsPasswordsOrCodes),+ (".duckdb/stored_secrets/s3.duckdb_secret", .holdsSignIns),+ (".mcp-auth/mcp-remote-0.1.37/1234_tokens.json", .holdsSignIns),+ (".boto", .holdsSignIns),+ (".gemini/oauth_creds.json", .holdsSignIns),+ (".config/configstore/firebase-tools.json", .holdsSignIns),+ ("Library/Application Support/ngrok/ngrok.yml", .holdsSignIns),("Library/Application Support/Tunnelblick/Configurations/work.tblk", .holdsVPNConnections),("Library/Application Support/Viscosity", .holdsVPNConnections),("Library/Application Support/Steam", .holdsWorkMadeWithTheApp),@@ -157,6 +171,8 @@ struct KeptOnlyHereTests {@Test func leavesWhatSitsBesideOrAroundThem() {let free = ["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/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",