diff --git a/src/main.rs b/src/main.rs index 078a83a..01b6632 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -// #![allow(dead_code)] +#![windows_subsystem = "windows"] use chrono::{DateTime, Duration, Local}; use std::cell::RefCell; @@ -380,6 +380,7 @@ impl BasicApp { } } + fn main() { nwg::init().expect("Failed to init Native Windows GUI"); nwg::Font::set_global_family("Segoe UI").expect("Failed to set default font");