Electron-packager: No app icon

Created on 6 May 2015  路  2Comments  路  Source: electron/electron-packager

I'm using this to assemble my application electron-packager build MyApp --out=dist/ --app-version=0.25.1 --icon=assets/icon.ico --prune but the application doesn't show up with an icon.

I can see the icon when using alert(), but not in the dock or in finder.

I'm using the latest version (0.3.3) (but the problem remains in 0.3.1).

Here's the alert and about box.

skarmavbild 2015-05-06 kl 19 09 28

prints

Here's finder

skarmavbild 2015-05-06 kl 19 10 08

and the dock

skarmavbild 2015-05-06 kl 19 09 51

I'm using Electron 0.25.1 with node v0.12.1.

Here's the icon I'm trying to use: http://www.filedropper.com/icon_4

What could be the problem? Thanks.

Most helpful comment

That solved the problem. Thanks. I used this online tool to convert the icon. https://iconverticons.com/online/

All 2 comments

i'm not 100% sure on this but try an .icns file rather than a .ico

That solved the problem. Thanks. I used this online tool to convert the icon. https://iconverticons.com/online/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

corvinrok picture corvinrok  路  4Comments

Liam-Ryan picture Liam-Ryan  路  4Comments

TongDaDa picture TongDaDa  路  3Comments

andreabisello picture andreabisello  路  3Comments

kdawg1406 picture kdawg1406  路  4Comments