Files
inkopslista/inköpslista-gui/src/main.rs
T
2025-12-14 19:09:13 +01:00

15 lines
373 B
Rust

// Prevent console window in addition to Slint window in Windows release builds when, e.g., starting the app via file manager. Ignored on other platforms.
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use std::error::Error;
slint::include_modules!();
fn main() -> Result<(), Box<dyn Error>> {
let ui = App::new()?;
ui.run()?;
Ok(())
}