I'm hyped, but cannot get the desktop examples to run.
Both desktop examples exit with 101 on Windows. A window briefly pops up and immediately disappears again.
PS C:\Users\mk\IdeaProjects\rust\example-projects\file-explorer> cargo run
warning: static variable `App` should have an upper case name
--> src\main.rs:21:8
|
21 | static App: Component<()> = |cx| {
| ^^^ help: convert the identifier to upper case: `APP`
|
= note: `#[warn(non_upper_case_globals)]` on by default
warning: `file-explorer` (bin "file-explorer") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 0.27s
Running `target\debug\file-explorer.exe`
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: WebView2Error(webview2 error, HRESULT 0x80070002)', C:\Users\mk\.cargo\registry\src\github.com-1ecc6299db9ec823\dioxus-desktop-0.1.6\src\lib.rs:263:68
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\file-explorer.exe` (exit code: 101)
PS C:\Users\mk\IdeaProjects\rust\example-projects\file-explorer> cargo version
cargo 1.64.0-nightly (85b500cca 2022-07-24)