fix: not create windows when enable slient start

This commit is contained in:
GyDi 2022-10-11 21:50:00 +08:00
parent 15ff9b06a1
commit 2d0989342f
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

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