Files
Chronos/tests/Chronos.App.Tests
Alby96andClaude Opus 5.5 192265f1b7 feat(app): keep sharing from the tray when the window closes
The owner wants the shared library to keep running while Chronos runs.
While sharing is on (or on its way), closing the main window now hides it
behind a tray icon (Open Chronos, Exit) instead of ending Chronos. Exit asks
first when clients used the library in the last minutes, then closes the
window for real, so the editor still stores its last edit and the exit path
stops sharing before the other services. A start at sign-in (--minimized)
with sharing on waits in the tray. With sharing off nothing changes.

The decisions live in ShareLifetime (unit-tested); ShellTray wires them to
the window, LibraryShare and OsNotifications, whose balloons reuse the icon.

Server > This library also warns when the 1.0 Windows Server's service
(ChronosServer) is installed, through a read-only SCM P/Invoke probe.

Refs #67

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 16:37:00 +01:00
..