mirror of
https://github.com/hulthe/inkopslista.git
synced 2026-08-03 23:11:28 +02:00
15 lines
373 B
Rust
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(())
|
|
}
|