Skip to content

Exclude private system apps by default on new profiles - #12

Merged
tarikbc merged 1 commit into
tarikbc:mainfrom
brzvsk:feat/private-app-defaults
Sep 18, 2026
Merged

tarikbc merged 1 commit into
tarikbc:mainfrom
brzvsk:feat/private-app-defaults

Conversation

@brzvsk

@brzvsk brzvsk commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

What this changes

A new profile excludes Apple Passwords and Keychain Access from clipboard capture by default. Existing profiles, intentionally empty exclusion lists, and custom lists keep their current behavior. The new defaults persist immediately so removing them stays respected across launches. Corrupt saved values are not overwritten.

Independent PR; no merge dependencies.

How you tested it

  • Compiled and ran Scripts/Tests/PrivateAppDefaultsTests.swift together with the real Copy/Settings/SettingsStore.swift: new profile, persistence, explicit removal, empty/custom lists, onboarded profile and malformed stored data all passed. Uses temporary UserDefaults suites only.

  • Command: swiftc -parse-as-library Copy/Settings/SettingsStore.swift Scripts/Tests/PrivateAppDefaultsTests.swift -o /tmp/copy-private-defaults-tests && /tmp/copy-private-defaults-tests.

  • Xcode Debug build and git diff --check passed.

  • Every commit is signed off.

  • All three SPM pins are preserved.

Signed-off-by: Nikolai Berezovskii <nikolai@brzv.sk>
@tarikbc
tarikbc merged commit 19c2c72 into tarikbc:main Sep 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants