How to set App Icon when using copy /b method?

6 views
Skip to first unread message

Cohoman

unread,
Aug 3, 2013, 6:29:50 PM8/3/13
to node-...@googlegroups.com
I'm using the "copy /b nw.exe+app.nw app.exe" method to combine my web app and the node-webkit exe into a single exeutable flle called app.exe. This works great, and when I run app.exe on my Windows 7 machine to see the app icon image I assigned in the taskbar. But, the app.exe file itself still has the Node-Webkit default icon displayed. So if I make a shortcut from the app.exe file to the desktop or any where else, I see the default icon instead of the one I assigned.

Is there a way to change this, so that my app.exe file uses the app icon image that I specified?

Thanks.

Michael Winser

unread,
Aug 3, 2013, 6:40:48 PM8/3/13
to node-...@googlegroups.com
No. You need to use a tool like rcedit.exe to modify the icon resource of the nw.exe.

This only matters if you care about how the exe shows up in explorer. If you use an installer to create start menu shortcuts then you can set the icon explicitly. For the runtime you can set the app icon programmatically then you'll be fine. 

Michael
--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Cohoman

unread,
Aug 3, 2013, 6:44:57 PM8/3/13
to node-...@googlegroups.com
Great. Thanks for the reply and suggestions. I appreciate the help!
Reply all
Reply to author
Forward
0 new messages