Home>

I'm making a Windows app on Windows with Electron.
The icon displayed in Explorer cannot be changed.

Tried

Check on the Internet and directly under the project folder
Create a file called Icon.ico (256x256)

  

electron-packager (omitted) --icon = Icon.ico

I hit

, but when I look at the resulting EXE, the icon hasn't changed.

What should I do?

  • Answer # 1

    It may have been solved since last year's question, but the method I solved is the following
    Delete win10 icon cache DB->restart
    It was displayed properly.

    http://win.just4fun.biz/?Windows10/%E3%82%A2%E3%82%A4%E3%82%B3%E3%83%B3%E3%81%8C%E5%A4 % 89% E3% 82% 8F% E3% 82% 89% E3% 81% AA% E3% 81% 84% E5% A0% B4% E5% 90% 88% E3% 81% AF% E3% 82% A2 % E3% 82% A4% E3% 82% B3% E3% 83% B3% E3% 82% AD% E3% 83% A3% E3% 83% 83% E3% 82% B7% E3% 83% A5DB% E3 % 82% 92% E5% 89% 8A% E9% 99% A4