mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:33:45 +08:00
fix: not create windows when enable slient start
This commit is contained in:
parent
068f08aa45
commit
444acc8ef5
@ -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…
x
Reference in New Issue
Block a user