Skip to content

feat: opt-in single-instance mode (desktop)#57

Merged
keyldev merged 2 commits into
mainfrom
feat/single-instance
Jul 5, 2026
Merged

feat: opt-in single-instance mode (desktop)#57
keyldev merged 2 commits into
mainfrom
feat/single-instance

Conversation

@keyldev

@keyldev keyldev commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Settings > Advanced toggle, persisted in usersettings.json
  • primary always holds a named mutex + activation pipe
  • second launch focuses the running window and exits before DI/logs
  • enforcement is read pre-composition, so toggling needs no restart of the primary

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

keyldev added 2 commits July 5, 2026 14:48
- Settings > Advanced toggle, persisted in usersettings.json
- primary always holds a named mutex + activation pipe
- second launch focuses the running window and exits before DI/logs
- enforcement is read pre-composition, so toggling needs no restart of the primary
- queue one low-priority ApplyLayout + InvalidateMeasure per resize burst
- guards against stale arrange clipping the detail pane at the window edge
@keyldev keyldev merged commit aef7dab into main Jul 5, 2026
5 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.

1 participant