diff --git a/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs b/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs index 98f9bdc..818bb7e 100644 --- a/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs +++ b/src/ClaudeDo.Ui/ViewModels/IslandsShellViewModel.cs @@ -221,7 +221,6 @@ public sealed partial class IslandsShellViewModel : ViewModelBase _primeStatusTimer.Elapsed += (_, _) => Avalonia.Threading.Dispatcher.UIThread.Post(() => PrimeStatus = null); _ = Lists.LoadAsync(); - _ = EnsureWorkerRunningAsync(); _updateCheck.PropertyChanged += (_, e) => { if (e.PropertyName == nameof(UpdateCheckService.LastCheckStatus)) @@ -305,20 +304,6 @@ public sealed partial class IslandsShellViewModel : ViewModelBase [ObservableProperty] private string? _restartWorkerStatus; - private bool _ensureRunningAttempted; - - private async Task EnsureWorkerRunningAsync() - { - if (_ensureRunningAttempted) return; - _ensureRunningAttempted = true; - await Task.Delay(TimeSpan.FromSeconds(4)); - if (Worker?.IsConnected == true) return; - var exe = _workerLocator.Find(); - if (exe is null) return; - try { System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo(exe) { UseShellExecute = true }); } - catch { /* logon task is the primary mechanism; this is a convenience */ } - } - [RelayCommand] private async Task RestartWorkerAsync() {