This commit is contained in:
2025-06-25 20:12:24 +03:00
parent ee8842a9ec
commit ef8adb7f78
7 changed files with 382 additions and 2 deletions

7
src/app_main.rs Normal file
View File

@@ -0,0 +1,7 @@
slint::include_modules!();
pub fn app() -> Result<App, slint::PlatformError> {
let app = App::new()?;
app.run()?;
Ok(app)
}

1
src/lib.rs Normal file
View File

@@ -0,0 +1 @@
pub mod app_main;

View File

@@ -1,3 +1,4 @@
fn main() {
println!("Hello, world!");
fn main() -> anyhow::Result<()> {
tgp::app_main::app()?;
Ok(())
}