app: ship the Oak icon on every platform surface
- 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).
This commit is contained in:
Generated
+1
@@ -4723,6 +4723,7 @@ dependencies = [
|
||||
name = "oak-app"
|
||||
version = "0.5.0"
|
||||
dependencies = [
|
||||
"embed-resource",
|
||||
"gpui",
|
||||
"gpui_elements",
|
||||
"gpui_platform",
|
||||
|
||||
Reference in New Issue
Block a user