From 2d0989342f188152412dc8ee8693ee78420811ea Mon Sep 17 00:00:00 2001 From: GyDi Date: Tue, 11 Oct 2022 21:50:00 +0800 Subject: [PATCH] fix: not create windows when enable slient start --- src-tauri/src/utils/resolve.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/utils/resolve.rs b/src-tauri/src/utils/resolve.rs index b7bd0e3..382567b 100644 --- a/src-tauri/src/utils/resolve.rs +++ b/src-tauri/src/utils/resolve.rs @@ -21,7 +21,7 @@ pub fn resolve_setup(app: &App) { let core = Core::global(); core.init(app.app_handle()); - if !silent_start || cfg!(target_os = "macos") { + if !silent_start { create_window(&app.app_handle()); } }