How is the GUI bundled into the binary?

Hello, I have been looking through the Syncthing source code to try and understand the application more, and I’ve been trying to figure out how the web GUI is bundled in with the release binary. So my question essentially is, how is this achieved? Thanks! :slightly_smiling_face:

Thanks for pointing that out to me. I completely went past it to be honest. I’ll go and give it a read over. Thanks again! :slightly_smiling_face:

This comment and following also have some relevant info when it comes to the GUI assets: