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 Sublime Text's data folder unselected
Țugui Dragoșd8211a7f2854
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swiftindex 00b831f9..f9f2ad97 100644--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift@@ -54,6 +54,10 @@ enum KeptOnlyHere {// iTerm2's "Dynamic Profiles" and "Running a Script": the profiles and the scripts the person wrote.("Library/Application Support/iTerm2", "Scripts", .holdsWorkMadeWithTheApp),("Library/Application Support/iTerm2", "DynamicProfiles", .holdsWorkMadeWithTheApp),+ // Sublime Text's "Reverting to a Freshly Installed State" and "Packages": its data folder keeps the person's+ // settings and the packages they made in `Packages`, which can't be installed again.+ ("Library/Application Support/Sublime Text", "Packages", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/Sublime Text 3", "Packages", .holdsWorkMadeWithTheApp),// LibreOffice's and Apache OpenOffice's user profile (`UserInstallation`, `<name>/4` on a Mac). LibreOffice// Help's "Paths": the person's templates, AutoText, AutoCorrect texts, dictionaries, and documents' backups.("Library/Application Support/LibreOffice", nil, .holdsWorkMadeWithTheApp),diff --git a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swiftindex a9c6f989..7d407975 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift@@ -35,6 +35,9 @@ struct KeptOnlyHereTests {("Library/Application Support/iTerm2", .holdsWorkMadeWithTheApp),("Library/Application Support/iTerm2/Scripts/AutoLaunch/hello.py", .holdsWorkMadeWithTheApp),("Library/Application Support/iTerm2/DynamicProfiles/Work.json", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/Sublime Text", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/Sublime Text/Packages/User/Notes.sublime-snippet", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/Sublime Text 3/Packages/User/plugin.py", .holdsWorkMadeWithTheApp),("Library/Application Support/Transmission", .holdsTorrents),("Library/Application Support/Transmission/Transfers.plist", .holdsTorrents),("Library/Application Support/qBittorrent", .holdsTorrents),@@ -82,6 +85,7 @@ struct KeptOnlyHereTests {"Library/Caches/LibreOffice", "Library/Application Support/LibreOffice Beta","Library/Application Support/iTerm2/version.txt", "Library/Caches/com.googlecode.iterm2","Library/Application Support/Eltima Software", "Library/Application Support/Eltima Software/Elmedia Player",+ "Library/Caches/Sublime Text", "Library/Application Support/Sublime Merge",]for path in free {#expect(KeptOnlyHere.reason(for: "\(home)/\(path)", home: home, root: "/") == nil, "\(path)")diff --git a/SAFETY.md b/SAFETY.mdindex 76b43f40..0b7e61d4 100644--- a/SAFETY.md+++ b/SAFETY.md@@ -389,10 +389,11 @@ Never selected for you, even when found:- What an app keeps that may exist only on this Mac: local mail, message history, a password manager's vaults andbackups and an authenticator's codes, VPN connections and identities, a torrent client's list of torrents, a game'ssaves, a database, a streaming app's scenes and profiles, an office suite's own templates and dictionaries, a- terminal's scripts and profiles, a code editor's unsaved files and local history, and the sign-in a tool saved when- you logged in, such as Docker's or Cargo's, each where the app's own documentation or source says it keeps them, and- anything named as an app's backups, or the app's folder that keeps them. When you uninstall Xcode, the simulators it- made in your home folder are listed too, with the apps installed in them and their data, and never selected.+ terminal's scripts and profiles, a code editor's unsaved files, local history, and the packages you made for it, and+ the sign-in a tool saved when you logged in, such as Docker's or Cargo's, each where the app's own documentation or+ source says it keeps them, and anything named as an app's backups, or the app's folder that keeps them. When you+ uninstall Xcode, the simulators it made in your home folder are listed too, with the apps installed in them and their+ data, and never selected.- A copy Mail keeps of an attachment you opened, which you may have changed.- A file a program has open right now.- An installer package an app keeps in Application Support, which the app may still need, and an update whose app is