How to set app icon for Electron / Atom Shell App

前端 未结 9 1418
无人及你
无人及你 2020-11-29 17:00

How do you set the app icon for your Electron app?

I am trying BrowserWindow({icon:\'path/to/image.png\'}); but it does not work.

Do I need to p

9条回答
  •  一生所求
    2020-11-29 17:37

    For windows use Resource Hacker

    Download and Install: :D

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

    • Run It
    • Select open and select exe file
    • On your left open a folder called Icon Group
    • Right click 1: 1033
    • Click replace icon
    • Select the icon of your choice
    • Then select replace icon
    • Save then close

    You should have build the app

提交回复
热议问题