feat(ui): add Restart worker menu entry under Help

Stops and starts the ClaudeDoWorker Windows service via
ServiceController. SignalR auto-reconnect plus the existing
ConnectionRestoredEvent handle the refresh, so the UI repopulates
counters and the active list once the worker is back up.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
mika kuns
2026-05-18 16:39:40 +02:00
parent 0d55002e5e
commit 8d34db3f9b
3 changed files with 48 additions and 0 deletions

View File

@@ -67,6 +67,8 @@
Foreground="{DynamicResource TextDimBrush}">
<MenuItem Header="Check for updates"
Command="{Binding CheckForUpdatesCommand}"/>
<MenuItem Header="Restart worker"
Command="{Binding RestartWorkerCommand}"/>
<MenuItem Header="About…" Command="{Binding OpenAboutCommand}"/>
</MenuItem>
</Menu>