From c3f059591310dfc6dc2f32ff7e8c7bf15bb41b52 Mon Sep 17 00:00:00 2001 From: GyulyVGC Date: Fri, 16 May 2025 02:05:18 +0200 Subject: [PATCH] make sure devices are fetched when starting the app with argument '-a' --- src/cli/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index f566ca0f..9e4e9065 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -57,6 +57,7 @@ pub fn handle_cli_args() -> Task { let mut boot_task_chain = window::get_latest().map(Message::StartApp); if let Some(adapter) = args.adapter { boot_task_chain = boot_task_chain + .chain(Task::done(Message::FetchDevices)) .chain(Task::done(Message::DeviceSelection(adapter))) .chain(Task::done(Message::Start)); }