From b4ce566c76f86889ee93083efc17f71a2a817f96 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 22 Jun 2026 02:34:04 +0800 Subject: feat: embed Windows icon and add build resources --- build.rs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 build.rs (limited to 'build.rs') diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..d11594e --- /dev/null +++ b/build.rs @@ -0,0 +1,8 @@ +fn main() { + #[cfg(windows)] + { + embed_resource::compile("icon/app.rc", embed_resource::NONE) + .manifest_optional() + .expect("Failed to embed app icon"); + } +} -- cgit