fix headless windows
This commit is contained in:
1 parent
0e3fd225a8
commit
8984482b63
4 files changed
+18
-9
No files matched your search
@@ -17,7 +17,7 @@ pub(crate) fn check_app_exits(app: Component) {
|
||||
|
||||
dioxus_desktop::launch_cfg(
|
||||
app,
|
||||
Config::new().with_window(WindowBuilder::new().with_visible(true)),
|
||||
Config::new().with_window(WindowBuilder::new().with_visible(false)),
|
||||
);
|
||||
|
||||
// Stop deadman's switch
|
||||
|
||||
Reference in new issue
Block a user