diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-22 02:34:04 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-22 02:34:04 +0800 |
| commit | b4ce566c76f86889ee93083efc17f71a2a817f96 (patch) | |
| tree | 99d03f034263f08a184ae6af930ede07fb98fdad /build.rs | |
| parent | f3e63efe8bec62e077b27c36a716a42d41728a25 (diff) | |
feat: embed Windows icon and add build resources0.1.0-release
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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"); + } +} |
