Skip to content

Commit

Permalink
fix(template): use the correct function on wry desktop
Browse files Browse the repository at this point in the history
Use 'main' instead of 'start_app' to start the application.
  • Loading branch information
kettei-sproutty committed Oct 24, 2023
1 parent cceff7e commit 6262136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/apps/wry/gen/bin/desktop.rs.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

fn main() {
#[cfg(not(any(target_os = "android", target_os = "ios")))]
{{snake-case app.name}}::start_app().unwrap();
{{snake-case app.name}}::main().unwrap();
}

0 comments on commit 6262136

Please sign in to comment.