add platform specific functions for launching apps for workspaces

This commit is contained in:
Evan Almloff committed 2024-01-16 11:45:02 -06:00
1 parent 71a08678a6
commit db35a9b48c
53 files changed
+127 -57

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ const _STYLE: &str = manganis::mg!(file("./public/tailwind.css"));
fn main() {
#[cfg(not(target_arch = "wasm32"))]
launch(app);
launch_desktop(app);
#[cfg(target_arch = "wasm32")]
dioxus_web::launch(app);
}