fix: not create windows when enable slient start

This commit is contained in:
GyDi 2022-10-11 21:50:00 +08:00
parent 068f08aa45
commit 444acc8ef5

View File

@ -21,7 +21,7 @@ pub fn resolve_setup(app: &App) {
let core = Core::global(); let core = Core::global();
core.init(app.app_handle()); core.init(app.app_handle());
if !silent_start || cfg!(target_os = "macos") { if !silent_start {
create_window(&app.app_handle()); create_window(&app.app_handle());
} }
} }