به Nostr بپیوندید
2026-08-03 19:01:07 UTC

nostr-summary on Nostr: [ Bitflash-sh/bitflash ] gui: name the icon resource GLFW_ICON so the window actually ...

[ Bitflash-sh/bitflash ] gui: name the icon resource GLFW_ICON so the window actually wears it (#126)

The right icon has been in the exe the whole time. GLFW never found it.

GLFW registers its own window class and fills hIcon with
LoadImageW(module, L"GLFW_ICON", ...), falling back to IDI_APPLICATION
when that exact resource name is missing. Ours was named "bitflash", so
the lookup failed and every window this program has opened wore the
generic Windows icon -- in the title bar and in the taskbar -- while the
correct artwork sat unused a few kilobytes away.
https://github.com/Bitflash-sh/bitflash/commit/6beddf1ef4df24e735e4c2c123453e6ce99c5460