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.

Say where the Applications page lives

Țugui Dragoș7721f3b3614e
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index 5173b792..e79589ec 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -159,13 +159,14 @@ macOS asks the user to approve it once. It talks to the app over XPC.
## The app
-- **Pages and models.** The sidebar lists the tools. Each has its page in `Peel/Views/<Tool>/` and a model in
- `Peel/Model/` (`AppLibrary`, `OrphanLibrary`, `DuplicateLibrary`, and so on) that owns its scan and its
- selection. The pages share `RemovalRow` for a row that can be selected and `RemovalBar` for the button that
- moves the selection. On the pages that free space (Orphaned Files, Space, Developer, Build Artifacts, Installers
- and Backups, Duplicates, and File Search) the selection travels: what is selected on every such page the user
- has opened stays selected, and Move to Trash on any of them moves it all as one removal, each page's part by its
- own tool with that tool's checks (`SelectionCarrier`, over `CarriedSelection` in PeelCore).
+- **Pages and models.** The sidebar lists the tools. Each has its page in `Peel/Views/<Tool>/`, but for
+ Applications, whose views sit directly in `Peel/Views/`, and a model in `Peel/Model/` (`AppLibrary`,
+ `OrphanLibrary`, `DuplicateLibrary`, and so on) that owns its scan and its selection. The pages share
+ `RemovalRow` for a row that can be selected and `RemovalBar` for the button that moves the selection. On the
+ pages that free space (Orphaned Files, Space, Developer, Build Artifacts, Installers and Backups, Duplicates,
+ and File Search) the selection travels: what is selected on every such page the user has opened stays selected,
+ and Move to Trash on any of them moves it all as one removal, each page's part by its own tool with that tool's
+ checks (`SelectionCarrier`, over `CarriedSelection` in PeelCore).
- **Concurrency.** The app target runs on the main actor by default. Heavy work lives in PeelCore and is marked
`@concurrent`, so it runs off the main actor.
- **Two looks.** Home, the menu bar panel, and About use Peel's own look, a paper sheet with stickers. Every