feat: add app icon (logo.png for README, icon.ico embedded in Windows exe)

This commit is contained in:
Helios 2026-03-06 03:40:32 +01:00
parent 89ab74406f
commit 00380e07f3
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
3 changed files with 1 additions and 1 deletions

BIN
assets/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 530 KiB

After

Width:  |  Height:  |  Size: 292 KiB

Before After
Before After

View file

@ -12,7 +12,7 @@ fn main() {
// Embed Windows icon when cross-compiling for Windows
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("windows") {
let mut res = winres::WindowsResource::new();
res.set_icon("../../assets/logo.ico");
res.set_icon("../../assets/icon.ico");
// Set cross-compile toolkit (mingw-w64)
res.set_toolkit_path("/usr");
res.set_windres_path("x86_64-w64-mingw32-windres");