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 why a setting set in another layer shows with a lock

Țugui Dragoș08c55524d0c9
diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md
index 088c6009..db95b984 100644
--- a/ARCHITECTURE.md
+++ b/ARCHITECTURE.md
@@ -312,8 +312,9 @@ macOS asks the user to approve it once. It talks to the app over XPC.
(`TweakCatalog`), through CFPreferences and never by editing a file: cfprefsd keeps its own copy of a domain and
writes it back over a file changed behind it (`TweakStore`). It writes the layer System Settings writes, the
person's own for any host, and reads a setting's state from every layer macOS searches; a value set for this Mac
- alone, for every account by an administrator, or for every app at once in the global domain, which Peel's own
- layer could not change, shows with a lock and is left alone, as a value a configuration profile sets is.
+ alone, which comes before Peel's layer, or for every account by an administrator or for every app at once in the
+ global domain, which removing Peel's key to turn a switch off could not change, shows with a lock and is left alone,
+ as a value a configuration profile sets is.
`TweakLedger` keeps in Peel's preferences which tweaks Peel turned on, what each key held before, and what Peel
wrote: turning a tweak off puts back what was there, removes a key that held nothing, leaves a value the person
changed since as it is, and removes the key of a setting the person made themselves, so macOS falls back to its
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9c5d7850..581a6f3f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -655,7 +655,7 @@ its changes the way [Keep a Changelog](https://keepachangelog.com/) suggests.
- Turn All Off puts back only what Peel changed and leaves what you set yourself as it is; the sentence under it counts
Peel's changes, and its question names them.
- A setting set for this Mac alone, for every account by an administrator, or for every app at once shows with a lock,
- as one a profile locks does, since Peel can't change it from where it writes.
+ as one a profile locks does, since turning the switch off, by removing Peel's key, couldn't change it.
- The screenshot name is saved on Return or Save only.
- The notes say that a restart of Finder stops anything it is copying, that the window manager restarts for the gaps
between tiled windows, and that macOS's menu bar items restart for the seconds on the clock.