nwjs-builder icon indicating copy to clipboard operation
nwjs-builder copied to clipboard

ICON missing in .exe when compiling from MAC to WIN

Open hernanBeiza opened this issue 8 years ago • 2 comments

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

hernanBeiza avatar Jan 04 '17 16:01 hernanBeiza

Greetings. May I know which has the correct icon?

  • Executable File
  • Titlebar
  • Taskbar Item

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.

evshiron avatar Jan 06 '17 03:01 evshiron

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!

hernanBeiza avatar Jan 06 '17 16:01 hernanBeiza