Desktop: Add taskbar icon on Windows (#3225)

* include icon as resource on windows

* load icon
This commit is contained in:
Timon
2025-09-26 14:30:01 +02:00
committed by Dennis Kobert
parent d06c8164e1
commit 4bb1d05fc3
5 changed files with 42 additions and 3 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");
}
}