Skip to content

Isolate demo mode from live data - #18

Draft
alvst wants to merge 6 commits into
alvie/build-02-ci-safetyfrom
alvie/build-03-demo-isolation
Draft

Isolate demo mode from live data#18
alvst wants to merge 6 commits into
alvie/build-02-ci-safetyfrom
alvie/build-03-demo-isolation

Conversation

@alvst

@alvst alvst commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Stacked on build-02 (momenbasel#79 → this fork's #17) — review only the diff shown here.

swift run Pesty --demo previously shared runtime state with the real app (hotkey registration, clipboard monitoring, iCloud sync, launch-at-login, settings, source color cache). This routes demo mode through its own isolated runtime (AppRuntime.swift) so it never touches real clipboard history, real settings, or the real store file — needed groundwork before UI-visible demo screenshots are trustworthy for future PRs.

No visual delta — internal runtime isolation only, no Sources/Pesty/UI/* files touched.

swift build is clean with no warnings.


Part of a stacked series of small, focused PRs — please hold off on merging until I mark it ready.

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.

1 participant