app name and no terminal

This commit is contained in:
2025-07-23 19:00:21 +02:00
parent de0a8dc342
commit 96e4081bff
6 changed files with 43 additions and 12 deletions

View File

@@ -22,6 +22,12 @@ fn main() {
let _ = fs::remove_dir_all(target_dir.join("fonts"));
fs::create_dir_all(target_dir.join("fonts")).unwrap();
copy_dir("fonts", target_dir.join("fonts"));
#[cfg(windows)]
{
let mut res = winres::WindowsResource::new();
res.set("SubSystem", "Windows");
res.compile().unwrap();
}
}
fn copy_dir(src: impl AsRef<Path>, dst: impl AsRef<Path>) {