Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Open the main window from Peel's shortcuts, as notifications do

Țugui Dragoșec43a0b986d9
diff --git a/Peel/Navigation/PeelIntents.swift b/Peel/Navigation/PeelIntents.swift
index cc0c2359..62ad1b8d 100644
--- a/Peel/Navigation/PeelIntents.swift
+++ b/Peel/Navigation/PeelIntents.swift
@@ -92,7 +92,7 @@ struct ShowInPeel: AppIntent {
@MainActor
func perform() async throws -> some IntentResult {
- Navigator.shared.requestedTool = place.tool
+ Navigator.shared.show(place.tool)
return .result()
}
}
@@ -161,7 +161,7 @@ struct ShowLeftoversInPeel: AppIntent {
throw NoSuchApp(name: app.name)
}
Navigator.shared.requestedApp = installed.url
- Navigator.shared.requestedTool = .applications
+ Navigator.shared.show(.applications)
return .result()
}
}