privatevoice.src/services/engine_service.go
@@ -159,10 +159,18 @@ func (s *EngineService) SetStatus(status, hardwareInfo, lastError string) { s.mu.Lock() defer s.mu.Unlock() s.status = status s.hardwareInfo = hardwareInfo s.lastError = lastError s.mu.Unlock() if s.app != nil { s.app.Event.Emit("engine:status", map[string]interface{}{ "status": status, "hardwareInfo": hardwareInfo, "error": lastError, }) } } // DownloadModel downloads the ASR model with progress events.