fix: not create windows when enable slient start

This commit is contained in:
GyDi
2022-10-11 21:50:00 +08:00
Unverified
parent 15ff9b06a1
commit 2d0989342f

View File

@@ -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());
}
}