Automatically Change NW.js Icon

0 favourites
  • 1 posts
From the Asset Store
Over 1700 16x16 pixel art RPG icons for item and skills
  • I found a resource hacker that lets you use it through command prompt, so I made a batch file that I run that, among other things only I can really use, it changes the NW.jr explorer icon.

    First you need to download the aptly-named Resource Hacker.

    http://www.angusj.com/resourcehacker/

    From then on, all you need to do is make a batch file and put this line of code in it with whatever else you want. In my case, I merge the package.nw and NW.js EXE into one, rename it, etc. Be sure to put it in the directory with your project.

    START C:/Reshack/ResourceHacker.exe -open INSERTPATHTONWJS/nw.exe -save INSERTNAMEOFNEWNWJS.exe -action addoverwrite -res INSERTPATHTOICONFILE/INSERTICONFILENAME.ico -mask ICONGROUP,IDR_MAINFRAME,

    And that's about it. Try to keep the files all on the same drive because otherwise this probably won't work and will be 10x harder to pull off correctly. I put in italics what needs to be altered for your PC.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)