feat(qconnect): apply startup_mode + CLI override during app setup

Spawns a background auto-connect task during the Tauri setup hook when
the effective startup decision says so. Failures log a warn and leave
lifecycle in Off; no infinite reconnect loop on first-time failure.

cc
This commit is contained in:
vicrodh committed 2026-05-01 12:30:32 -06:00
1 parent 27cb2ab6cc
commit 6f38362b9f
3 files changed
+52 -3

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ pub(super) fn persist_device_name(name: Option<&str>) {
}
}
pub(super) async fn resolve_transport_config(
pub(crate) async fn resolve_transport_config(
options: QconnectConnectOptions,
app_state: &AppState,
) -> Result<WsTransportConfig, String> {