fix headless windows

This commit is contained in:
Evan Almloff committed 2023-12-08 15:14:32 -06:00
1 parent 0e3fd225a8
commit 8984482b63
4 files changed
+18 -9

No files matched your search

+1 -1
View File
@@ -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