Closed shaoerkuai closed 1 year ago
After recompiling with -arch amd64 using rsrc it fixed, but I could not make it works:
I can confirm that the ICON embbed, but (github.com/akavel/rsrc) WindowMainOpts ().IconId(101) panic
How could I solve this? Now I was removed IconId and It's OK now , just not sure How could I use icon with akavel's rsrc tool compiled syso..
The error message
panic: [1813 0x715] The specified resource type cannot be found in the image file.
means that Windows could not find the icon, there's nothing else beyond this. The problem seems to be with the syso compilation, which is producing and invalid Win32 resource. There's nothing Windigo can do here.
I will try to figure out how this compliation will cause this panic.
Compiling with provided minimal.syso
I fixed it using rsrc compiling a new amd64 syso,then..