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

Setting icon to a single path doesn't show the icon #45

Open
malept opened this issue Jul 19, 2021 · 1 comment
Open

Setting icon to a single path doesn't show the icon #45

malept opened this issue Jul 19, 2021 · 1 comment

Comments

@malept
Copy link
Owner

malept commented Jul 19, 2021

What version of electron-installer-flatpak are you using? 0.11.4

What operating system are you using? Ubuntu Linux 18.04

Can you compile the example app successfully?

Yes

What did you do? Please include the configuration you are using for electron-installer-flatpak.

Set icon to icon.png which exists

What did you expect to happen?

When I look in GNOME's activities, my app has an icon

What actually happened?

my app doesn't have an icon

Extra information

When building:

@malept/flatpak-bundler Exporting /tmp/flatpak-bundler-26868-OM8v9WEkHzIw/build/files/share/pixmaps/io.atom
.electron.demo123.png to /tmp/flatpak-bundler-26868-OM8v9WEkHzIw/build/export/share/pixmaps/io.atom.electron.
demo123.png +77ms
[...]
  @malept/flatpak-bundler 1> WARNING: Icon referenced in desktop file but not exported: io.atom.electron.demo
123

When installing:

Warning: Not exporting file io.atom.electron.demo123.png of unsupported type.

Workaround

Set icon to an object, with the appropriate size. For example, with a 48x48 icon:

{
  icon: {
    "48x48": "icon.png"
  }
}
@openspeedtest
Copy link

Awesome! Thanks

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

No branches or pull requests

2 participants