Answer the question
In order to leave comments, you need to log in
How to set an icon in Electron in macOS?
How to set an icon in an Electron application that is shown in the dock and alt-tab?
new BrowserWindow({icon: __dirname + '/images/icon.png'})
and setOverlayIcon('/images/icon.png', 'Application')
doesn't work
Answer the question
In order to leave comments, you need to log in
for windows - ico
for linux - png
for os x - icns
you will need to write the system definition code into a variable and substitute the extension type (if you want everything cross-platform)
image converter for os x:
https://iconverticons.com/online/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question