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
An app opened after the question keeps its files
Țugui Dragoș27ec200cdd14
diff --git a/Peel/Views/AppDetailView.swift b/Peel/Views/AppDetailView.swiftindex 8d21dd66..6df8ad8d 100644--- a/Peel/Views/AppDetailView.swift+++ b/Peel/Views/AppDetailView.swift@@ -608,9 +608,11 @@ struct AppDetailView: View {}/// One removal, from the privacy reset before the move to the scan after it, with the page busy throughout.+ /// An app opened since the question moves nothing: it is asked to quit again.private func remove(_ request: RemovalRequest) async {let plan = plandefer { plan.question.finish() }+ guard plan.runningProcesses.isEmpty else { return requestRemoval() }// The one step that goes before the move: `tccutil` only finds an app that is still in its place.let privacy = await PrivacyReset.reset(resetting(request.urls))let result = await plan.move(request)diff --git a/Peel/Views/MultipleAppsView.swift b/Peel/Views/MultipleAppsView.swiftindex 6a5df00d..3a058ecc 100644--- a/Peel/Views/MultipleAppsView.swift+++ b/Peel/Views/MultipleAppsView.swift@@ -275,9 +275,11 @@ struct MultipleAppsView: View {}/// One removal, from the privacy reset before the move to the scan after it, with the page busy throughout.+ /// An app opened since the question moves nothing: it is asked to quit again.private func remove(_ request: RemovalRequest) async {let plan = plandefer { plan.question.finish() }+ guard plan.runningProcesses.isEmpty else { return requestRemoval() }// The privacy reset runs before the move, because `tccutil` only finds an app that is still in its place.let privacy = await PrivacyReset.reset(resetting(request.urls))let result = await plan.move(request)