Can somebody please tell me the instructions for using a custom icon, when compiling an electron app (on mac) when using electron-forge package? Using --icon gives me an error:
error: unknown option `--icon'
What am I missing?
Can somebody please tell me the instructions for using a custom icon, when compiling an electron app (on mac) when using electron-forge package? Using --icon gives me an error:
error: unknown option `--icon'
What am I missing?
Per the Options.icon documentation:
If the file extension is omitted, it is auto-completed to the correct extension based on the platform, including when platform: 'all' is in effect
Given that, set the value without extension:
"icon": "./assets/icon"
This is confirmed to work on both Windows and Mac.