mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
* 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
8 lines
218 B
Rust
8 lines
218 B
Rust
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");
|
|
}
|
|
}
|