evshiron / nwjs-builder

https://www.npmjs.com/package/nwjs-builder
76 stars 12 forks source link

ICON missing in .exe when compiling from MAC to WIN #57

Open hernanBeiza opened 7 years ago

hernanBeiza commented 7 years ago

Hi! Thanks for your work! Works like a charm! Now I am trying to compile my project using a script in npm (npm run prodWIN) like this: "scripts": { "prodWIN": "nwb nwbuild -p win64 -o ./../build/ --side-by-side --output-format ZIP --win-ico ./img/Icon1024.ico", } And compile great! But in my .exe file, when I run in Windows, doesn't have the icon. Only appears in the Title Bar, at the left side of the name. Do you know why? Will I have to use ResourceHacker manually? Thanks for your time

evshiron commented 7 years ago

Greetings. May I know which has the correct icon?

If the executable doesn't have a correct icon, it might be an issue with Resource Hacker (previous issue at evshiron/node-resourcehacker#1), maybe you can try doing it manually and see if it works.

hernanBeiza commented 7 years ago

Hi! The correct icon appears in the title bar and the taskbar item, but is missing in Executable file. Ok, I wil try it manually. Thanks for your reply!