Desktop: Bundle for Mac and Windows (#3297)

* add bundle for mac os and windows

* Fix bundle name

This name gets used as the display name of the app on mac os, shorter name looks better and is more consistent.

* preserve std out by running bin directly

* bundle placeholder on linux

* fix linux
This commit is contained in:
Timon
2025-10-23 10:39:08 +00:00
committed by GitHub
parent 557df6917d
commit 7fbe440e73
21 changed files with 429 additions and 15 deletions
+8
View File
@@ -0,0 +1,8 @@
fn main() {
#[cfg(target_os = "windows")]
{
let mut res = winres::WindowsResource::new();
res.set_icon("../../assets/graphite-icon-color.ico");
res.compile().expect("Failed to compile Windows resources");
}
}