1.1--- a/rust/ui/alik/examples/installer.rs Sun Jun 09 02:04:18 2024 -0400
1.2+++ b/rust/ui/alik/examples/installer.rs Sun Jun 09 02:05:16 2024 -0400
1.3@@ -1,8 +1,8 @@
1.4 //! installer.rs --- Alik Installer Example
1.5
1.6-//
1.7+//
1.8
1.9-//! Code:
1.10+//! Code:
1.11 use std::future::Future;
1.12
1.13 #[cfg(not(target_arch = "wasm32"))]
1.14@@ -22,7 +22,7 @@
1.15 .set_description("Description!")
1.16 .set_buttons(rfd::MessageButtons::OkCancel)
1.17 .show();
1.18- println!("{}", res);
1.19+ println!("{}", res);
1.20 // async
1.21 let task = rfd::AsyncFileDialog::new().pick_file();
1.22
1.23@@ -37,8 +37,11 @@
1.24 // on wasm just file.read().await;
1.25 }
1.26 });
1.27- eframe::run_native("alik_installer_example",
1.28- eframe::NativeOptions::default(),
1.29- Box::new(|cc| Box::new(alik_ui::AlikApp::new(cc)))).unwrap();
1.30+ eframe::run_native(
1.31+ "alik_installer_example",
1.32+ eframe::NativeOptions::default(),
1.33+ Box::new(|cc| Box::new(alik_ui::AlikApp::new(cc))),
1.34+ )
1.35+ .unwrap();
1.36 Ok(())
1.37 }