fix: not create windows when enable slient start
This commit is contained in:
parent
15ff9b06a1
commit
2d0989342f
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user