Check type of launch config (#2125)

* Check type of launch config

* fix cargo check

* compile when using an explicit platform with other platforms enabled

* fix formatting

* fix overlapping TryIntoConfig implementations

* fix desktop headless tests

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
Evan AlmloffandJonathan Kelley authored and GitHub committed 2024-03-27 12:08:05 -07:00
1 parent 44f3047780
commit 86d1dba699
5 files changed
+125 -43

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
use dioxus::prelude::*;
fn main() {
LaunchBuilder::desktop()
LaunchBuilder::new()
.with_cfg(
dioxus::desktop::Config::new().with_custom_index(
r#"