- Runtime window icon: X11 takes the embedded 512px PNG up front (_NET_WM_ICON), Wayland resolves it from oak.desktop via the app id, Windows reads it from the exe's icon resource. - assets/appicon: 512px PNG + 7-size ICO rasterized from Oak_Icon.svg. - Windows: oak.rc (ICON resource ID 1, also the Explorer icon) compiled by build.rs through embed-resource. - Linux packaging (deb/rpm/PKGBUILD/oak.spec): install Oak_Icon.svg into the hicolor scalable theme alongside the existing 512px PNG. - macOS: no change needed - cargo packager already builds the .icns from the CD-generated icons/icon.png (same source art).
5 lines
253 B
Plaintext
5 lines
253 B
Plaintext
// Icon resource ID 1 is what gpui_windows' `load_icon` reads for the
|
|
// window/taskbar icon; it is also the exe's Explorer icon. The path is
|
|
// resolved from the crate root (the build script's working directory).
|
|
1 ICON "../../assets/appicon/icon.ico"
|