1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Windows-only: embed the app icon and VS_VERSION_INFO into keyroost.exe.
//!
//! Token2's signed v0.7.5 exe carried an icon THEY injected during signing
//! (an added .rsrc section), which made signed builds differ from CI's by
//! more than a signature. Owning the icon here puts it in every keyroost.exe
//! (CI, `cargo install`, and signed builds become our-exact-bytes plus a
//! signature). The `winresource` build-dep is gated to Windows hosts in
//! Cargo.toml, and this whole file is a no-op elsewhere, so the Linux/macOS
//! builds and the workspace MSRV story are untouched.