feat(qconnect): parse --enable-qconnect / --disable-qconnect CLI flags

Volatile per-launch override. Both flags together → enable wins
deterministically with a warn log. The override is threaded into
lib::run() and consumed in the next task.

cc
This commit is contained in:
vicrodh committed 2026-05-01 12:20:35 -06:00
1 parent 40851ad58e
commit 27cb2ab6cc
2 files changed
+17 -2

No files matched your search

+1 -1
View File
@@ -495,7 +495,7 @@ fn handle_qobuz_link(handle: &tauri::AppHandle, url: &str, delay: bool) {
}
}
pub fn run() {
pub fn run(_qconnect_cli_override: Option<bool>) {
// Load .env file if present (for development)
// Silently ignore if not found (production builds use compile-time env vars)
dotenvy::dotenv().ok();