electron-builder: AppImage icon not working

  • Version: 21.2.0
  • Target: linux, Appimage

As stated in the docs:

Since electron-builder 21 desktop integration is not a part of produced AppImage file. AppImageLauncher is the recommended way to integrate AppImages.

I’m not a big fan of this decision but it for sure has reasons, idk. I tried out linux mojave (arch linux) and installed the appimagelauncher to integrate the AppImage, Sadly there is no icon in the start menu.

The AppImage docs say the icon file has to be in <root>/usr/share/icons/<theme>/<resolution>/apps/myapp.<ext>, I extracted the AppImage generated by electron-builder and the icon file in there symlinks to usr/share/icons/hicolor/scalable/myapp.svg, as you see /apps is missing, this might be the cause?

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 4
  • Comments: 15 (3 by maintainers)

Commits related to this issue

Most upvoted comments

IT IS RELEVANT!

Why has this issue been closed @develar?

Yes it is still relevant. Whats blocking it? well nobody seems to care.

I’ve set the icon path in the window settings and it shows the icon in the Ubuntu dock, but the AppImage file itself doesn’t have an icon. I don’t know if that’s a linux limitation?

image

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Pretty sure this is why things have not been working consistently for a while (2017): https://github.com/AppImage/AppImageKit/issues/346

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@qishibo thats what I wrote in the issue description. AppImageLauncher is inconvenient for the user and a lazy excuse by electron-builder, but even when I tried to use AppImageLauncher I could not get it to work because of wrong paths