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.

Rewrap two paragraphs the last edits left uneven

Țugui Dragoș8c20518e34ce
diff --git a/AGENTS.md b/AGENTS.md
index e35872a2..11e598c7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -86,12 +86,11 @@ checked by hand. If a change makes one of them fail, the rule is right and the c
storage, the folders another app keeps in step with other devices (`SyncedFolders`), the home's Trash and every
disk's, keychains, `~/.ssh`, `~/.gnupg`, and the other keys and credentials `ProtectedData.homeFolders` and
`ProtectedData.homeKeys` name, the wallet keys `ProtectedData.walletKeys` names, a browser profile holding a wallet
- extension's vault, Mail, Messages, Safari, Contacts, Calendars, and Apple's other stores of personal data, every
- group container of Apple's own, work not
- saved yet, photo, music, and video libraries, a sandboxed app's `Documents`, the folders every account starts
- with, and work a tool keeps only in a cache folder. [SAFETY.md](SAFETY.md) lists every place. The guard judges the
- item, not how its path is spelled: each rule is asked of the path as written, as found on disk, and as the kernel
- names the item, and the places it protects are known by device and inode too.
+ extension's vault, Mail, Messages, Safari, Contacts, Calendars, and Apple's other stores of personal data, every group
+ container of Apple's own, work not saved yet, photo, music, and video libraries, a sandboxed app's `Documents`, the
+ folders every account starts with, and work a tool keeps only in a cache folder. [SAFETY.md](SAFETY.md) lists every
+ place. The guard judges the item, not how its path is spelled: each rule is asked of the path as written, as found on
+ disk, and as the kernel names the item, and the places it protects are known by device and inode too.
- **Paths are compared name by name, never as text.** A Swift `String` reads a slash and a combining mark after it
as one `Character`, so `hasPrefix(folder + "/")` and `split(separator: "/")` miss a folder such a name sits in.
Every "is this inside that folder" question goes through `PathComponents`.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 54763b30..d57f05c2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -16,11 +16,11 @@ before the fix is written, and the result is checked where it shows, as [AGENTS.
tested on by hand, so it has no code for an older macOS.
- Xcode 27 or later, with Swift 6.4.
- A team to sign with, even a free one. The project names its maintainer's team, so build with yours: add
- `DEVELOPMENT_TEAM=YOUR_TEAM_ID` to the `xcodebuild` command, or choose your team under Signing & Capabilities for
- each of the four targets the Peel scheme builds (and PeelUITests, to run the audit), and leave that change out of
- your commits. launchd starts the helper only as the team named in
- `Support/com.tuguidragos.Peel.Helper.plist` (`SpawnConstraint`), so to install the helper you build, put your team
- there as well, again outside your commits. The package's tests need no signing.
+ `DEVELOPMENT_TEAM=YOUR_TEAM_ID` to the `xcodebuild` command, or choose your team under Signing & Capabilities for each
+ of the four targets the Peel scheme builds (and PeelUITests, to run the audit), and leave that change out of your
+ commits. launchd starts the helper only as the team named in `Support/com.tuguidragos.Peel.Helper.plist`
+ (`SpawnConstraint`), so to install the helper you build, put your team there as well, again outside your commits. The
+ package's tests need no signing.
- Two dependencies: Apple's swift-argument-parser, which Xcode fetches, and Sparkle, which updates Peel. Sparkle is
built from its source, at the commit `Scripts/build_sparkle.sh` names, with arm64e and without its XPC services: run
the script once before the first build. When that commit changes, move `build/Sparkle` to the Trash first, since