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
Installers and Backups lists ISO disk images
Țugui Dragoș6aec7d15910d
diff --git a/Packages/PeelCore/Sources/PeelCore/Space/Installers.swift b/Packages/PeelCore/Sources/PeelCore/Space/Installers.swiftindex d6a6c578..cd8eb236 100644--- a/Packages/PeelCore/Sources/PeelCore/Space/Installers.swift+++ b/Packages/PeelCore/Sources/PeelCore/Space/Installers.swift@@ -59,7 +59,7 @@ public enum Installers {/// `xip` is Apple's own archive format, which Xcode ships in. `zip` is not listed, since a zip file can hold/// anything: `appInside(zip:)` decides about each one.- static let installerExtensions: Set<String> = ["dmg", "pkg", "mpkg", "xip"]+ static let installerExtensions: Set<String> = ["dmg", "iso", "pkg", "mpkg", "xip"]static let firmwareExtensions: Set<String> = ["ipsw"]@concurrentdiff --git a/Packages/PeelCore/Tests/PeelCoreTests/InstallersTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/InstallersTests.swiftindex 4fc1b623..009b2bb3 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/InstallersTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/InstallersTests.swift@@ -114,6 +114,16 @@ struct InstallersTests {#expect(installers.allSatisfy { !$0.isReadOnly })}+ @Test func findsADiskImageInTheISOFormat() async throws {+ let directory = try TemporaryDirectory()+ try directory.file("Downloads/ubuntu-24.04-desktop-arm64.iso", bytes: 400_000)+ try directory.directory("Applications")++ let scan = await Installers.scan(installedApps: [], home: directory.url, root: directory.url, minimumSize: 100_000)++ #expect(scan.items(in: .appInstaller).map(\.name) == ["ubuntu-24.04-desktop-arm64.iso"])+ }+/// macOS asks before an app reads Downloads, Desktop, or Documents. A folder it refused is named, never read as/// holding no installers.@Test func namesTheFoldersMacOSWouldNotLetItRead() async throws {