-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Linux icons issue #2577
Comments
Do you run app using file (AppImage) or using menu? Set env |
Running the AppImage by clicking on it directly. Yes there's a symlink that is linked to What about the |
Please see #748 (comment)
Need to check. |
I've got the same issue. Defaults to Electron icon for both AppImage and deb builds. I also have custom dirs specified. Note: the same configuration worked in many previous versions of |
Ya, looks like there is no icon at all in the root. Just an Thanks! This project is the best 😄 |
@gschier I will try to find time to checkout your project and investigate what's wrong. |
@gschier Are you sure that you use 20.0.4? |
From the testing I just did, the icon stopped working after upgrading from
Let me know if you need anything from me to help debug the issue. I'm AFK now but I can submit an issue for it tomorrow so we can continue the discussion there. |
I can't set an icon on Linux either, using any of the methods listed in the docs. Implicit conversion from .icns, setting it explicitly as icon.png or 1024x1024.png, or setting buildResources, or providing icon names, or copying the icons to all imaginable locations, all these methods just don't work. I'm using 20.0.4 now. |
Travis output: |
I just tried rolling back to 19.47.1 on a hunch from @gschier which at first gave me an error that |
Confirmed on our end as well that linux deb icons work on 19.47.1, but not on 20.0.4. |
Same error here with the .deb package, How could I help guys? |
This happens for me while building Variant 1
Variant 2
|
@Qiplex Simply create file icon.png in the |
@develar yeah. It works now all the ways including the default one, you just mentioned about. Strange thing is that I had Until One thing I changed today was snapcraft upgrade on Mac |
Definitely not. This issue is still open because I didn't test mention cases (deb) manually. If someone can confirm that deb issue is gone in the 20.0.8 — will be great. |
Please try 20.3.0. (#2654) |
20.3.0 doesn't work either, but I can confirm that 19.47.1 does like @marbemac said earlier. |
@IhorVimmi not working for me. I'm trying with the 256x256 icon that worked well for windows |
In 22.2.0, have same issue. With linux deb, icon file can be found in |
I am facing exactly the same issue. I tried everything suggested in this thread but unfortunately, nothing worked. App icon only works with deb but not with AppImage. Is anyone able to point me in the right direction?
|
Same here, The icon works with Mac and Linux deb but doesn't with Linux AppImage. |
Anyone working on this? This should be an issue of high importance. |
After adding |
Any news? |
i have the same issue |
i have icon on snap and app image but not on deb file |
Hello, I've had this problem myself. I've solved this in the following way. This is the important part of
In the path Here is the whole repository, in case this wasn't clear. Hope I helped. |
see simon brandner comment electron-userland/electron-builder#2577 fix#737
i think if you point to the same file that mac requires (make it on the internet), then it will work. in your linux target. |
This did it for me, thanks! |
I can't build this locally over some strange permissions issue. I'm pushing to try if it works on CI. I've tried many suggestions mentioned in the following PRs, but nothing worked. This one seems to at least try to do something about the icns file, though it's failing locally, like I said: - electron-userland/electron-builder#748 - electron-userland/electron-builder#2269 - electron-userland/electron-builder#4617 - electron-userland/electron-builder#5385 - electron-userland/electron-builder#2577 (comment) Related to #123
No matter what I try I cannot set an icon on Linux.
Building from a macOS Sierra.
I have dir's customized:
I've tried setting
to all imaginable values, copying all icon folders to different locations in the root and build_res and I still get a question mark icon in Ubuntu 16.04.
I have an .icns file in
./build_res/icon.icns
.Is there a workaround? Or a fix?
The text was updated successfully, but these errors were encountered: