Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Electron App Window Icon on Linux #180

Merged
merged 2 commits into from
Nov 30, 2021
Merged

Update Electron App Window Icon on Linux #180

merged 2 commits into from
Nov 30, 2021

Conversation

jfaltermeier
Copy link
Contributor

@jfaltermeier jfaltermeier commented Nov 22, 2021

What it does

Set electron window icon on linux programmatically as the executable itself does not have an image.
This is a know issue for AppImage:
https://www.electron.build/configuration/appimage
electron-userland/electron-builder#4617

ksnip_20211122-130440

closes #178

How to test

Build linux installer and check the window icon

Review checklist

Reminder for reviewers

* set electron window icon on linux
* on windows and mac the executable icon is used as a fallback by
default

Signed-off-by: Johannes Faltermeier <[email protected]>
Copy link
Contributor

@marcdumais-work marcdumais-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @jfaltermeier . I have confirmed it works well - I now see the Blueprint icon on Linux!

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed that the bug exists on master, and that the workaround in the pull-request works 👍

* simplify setting window icon

Co-authored-by: Vincent Fugnitto <[email protected]>
@marcdumais-work
Copy link
Contributor

@vince-fugnitto are you ok with the current state of this PR? If so, can you approve?

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you for making the updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AppImage does not show the icon in Linux
3 participants