February 2019
Intermediate to advanced
450 pages
11h 59m
English
To package the data for release, we will embed this metadata into the application binary. Doing so requires creating a binary resource file (ending in .syso) that will encapsulate the manifest and icon files. The easiest way to do this is with the rsrc tool that was used in Chapter 4, Walk – Building Graphical Windows Applications. If you have not yet installed rsrc, you can do so with go get github.com/akavel/rsrc. We tell the tool where to find the manifest and icon files and it will output an rsrc.syso file in the current directory, as follows:
rsrc -manifest myapp.exe.manifest -ico myapp.ico
If you are compiling for a 64 bit target, you will need to specify an additional -arch amd64 parameter. It is important that the ...
Read now
Unlock full access