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
Developer lists Godot's export templates
Țugui Dragoș4172b274093f
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift b/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swiftindex 0ae4d63c..2c389c2a 100644--- a/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift+++ b/Packages/PeelCore/Sources/PeelCore/Developer/DeveloperCaches.swift@@ -920,6 +920,7 @@ public enum DeveloperCaches {]),Definition(id: "godot", name: "Godot", systemImage: "cube.transparent", appBundleIdentifiers: ["org.godotengine.godot"], folders: [Folder("Library/Caches/Godot", .cache, source: "https://github.com/godotengine/godot-docs/blob/master/tutorials/io/data_paths.rst#L157-L166"),+ Folder("Library/Application Support/Godot/export_templates", .keptDownloads, source: "https://github.com/godotengine/godot/blob/master/editor/file_system/editor_paths.h#L47"),]),Definition(id: "blender", name: "Blender", systemImage: "cube.transparent", appBundleIdentifiers: ["org.blenderfoundation.blender"], folders: [Folder("Library/Caches/Blender", .cache, source: "https://projects.blender.org/blender/blender/src/branch/main/source/blender/blenkernel/intern/appdir.cc#L228"),diff --git a/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swiftindex 0eef9477..7d48b568 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/DeveloperCachesTests.swift@@ -963,6 +963,22 @@ struct DeveloperCachesTests {#expect(locations.first?.kind == .cache)}+ /// The editor downloads its export templates again, so they are listed and never selected, and its settings+ /// beside them are never listed.+ @Test func listsGodotsExportTemplatesWithoutSelectingThem() async throws {+ let directory = try TemporaryDirectory()+ try directory.file("Library/Application Support/Godot/export_templates/4.4.stable/macos.zip", bytes: 400_000)+ try directory.file("Library/Application Support/Godot/editor_settings-4.4.tres", bytes: 400_000)+ let godot = DeveloperCaches.definitions.filter { $0.id == "godot" }++ let locations = await DeveloperCaches.scan(godot, homeDirectory: directory.url).flatMap(\.locations)++ let templates = try #require(locations.first { $0.url.lastPathComponent == "export_templates" })+ #expect(locations.count == 1)+ #expect(templates.kind == .keptDownloads)+ #expect(!templates.isRecommended)+ }+/// Playwright removes the folders it makes in the temporary folder when the browser closes, so one that is still/// there was left by a run that ended early, unless a browser still has it open.@Test func offersWhatPlaywrightLeftInTheTemporaryFolderAndNothingInUse() async throws {diff --git a/README.md b/README.mdindex 4475aa9c..4b246769 100644--- a/README.md+++ b/README.md@@ -110,8 +110,8 @@ Peel is free and open source, and it speaks English and 17 other languages.on Electron, such as Slack or Discord (never what a browser or an app keeps for you), and the browser profiles aPlaywright run left in the temporary folder when it ended early, never one a browser still has open. Xcode'sarchives and the symbols it copied from your devices, model weights, installed packages, and what a tool keeps for- you to install again (Vagrant boxes, Asset Store packages) are listed but never selected for you, and toolchains or- anything holding an account are never listed.+ you to install again (Vagrant boxes, Asset Store packages, Godot's export templates) are listed but never selected+ for you, and toolchains or anything holding an account are never listed.- **Build Artifacts:** what builds left in the folders you choose, like `node_modules`, `DerivedData`, `target`,`.nuxt`, `__pycache__`, Unity's `Library`, and any folder its tool tagged as a cache (`CACHEDIR.TAG`), each onlywhen a file of the tool that makes it proves it. A project changed in the last 7 days is never selected for you, and