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 Minecraft's saved worlds unselected
Țugui Dragoș34586ff9c7ae
diff --git a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swiftindex f9f2ad97..121c5170 100644--- a/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift+++ b/Packages/PeelCore/Sources/PeelCore/Leftovers/KeptOnlyHere.swift@@ -45,6 +45,10 @@ enum KeptOnlyHere {// Steam Support's "Steam Cloud": cloud files are kept here by default, and with Steam Cloud off a game's saves// are kept only here.("Library/Application Support/Steam", "userdata", .holdsWorkMadeWithTheApp),+ // Mojang's "Manually Uninstall Minecraft: Java Edition": the saved worlds and screenshots are in this folder,+ // and Minecraft support can't recover deleted files.+ ("Library/Application Support/minecraft", "saves", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/minecraft", "screenshots", .holdsWorkMadeWithTheApp),// Postgres.app's "Installing Postgres.app": its default data directory is `Postgres/var-XX`, and deleting the// data directories is an optional step of uninstalling it.("Library/Application Support/Postgres", nil, .holdsWorkMadeWithTheApp),diff --git a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swiftindex 7d407975..6733cfa5 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/KeptOnlyHereTests.swift@@ -24,6 +24,9 @@ struct KeptOnlyHereTests {("Library/Application Support/Viscosity", .holdsVPNConnections),("Library/Application Support/Steam", .holdsWorkMadeWithTheApp),("Library/Application Support/Steam/userdata/123/570/remote", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/minecraft", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/minecraft/saves/New World/level.dat", .holdsWorkMadeWithTheApp),+ ("Library/Application Support/minecraft/screenshots/2026-10-25_21.04.12.png", .holdsWorkMadeWithTheApp),("Library/Application Support/Postgres/var-17", .holdsWorkMadeWithTheApp),("Library/Application Support/.com.example.notes.backups", .holdsWorkMadeWithTheApp),("Library/Application Support/Example/Backups", .holdsWorkMadeWithTheApp),@@ -86,6 +89,7 @@ struct KeptOnlyHereTests {"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",+ "Library/Application Support/minecraft/versions", "Library/Application Support/Minecraft Launcher",]for path in free {#expect(KeptOnlyHere.reason(for: "\(home)/\(path)", home: home, root: "/") == nil, "\(path)")