We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Change desktop application .exe icon

Home Forums Programming Change desktop application .exe icon

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #68143

    Hi! Is there an easy way to change the .exe file icon when you build your desktop app with Electron? Verge and Electron manuals aren’t really helpful here for non-programmers… :)


    Hi Mariusz,

    Not quite easy to do it in automated way, since in Windows icons are stored as compiled resources. These are taken from the file manager/dist/verge3d.res (located in the installation directory). To generate this file, you need metadata (verge3d.rc, located in the same folder) and an ico file (verge.ico, same folder) and then execute a resource compiler, for example rc (included in Visual Studio):

    rc verge3d.rc

    Once you compile your own res file, it will be automatically embedded in the target exe file by the App Manager.

    It is also possible to edit the res (or even exe) file directly, for example by using the Resource Hacker: http://angusj.com/resourcehacker/#download

    Soft8Soft Tech Chief
    FB | Twitter | LinkedIn

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.