-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fix: linux icon #4554
Fix: linux icon #4554
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
.github/workflows/build-apps.yml
Outdated
@@ -325,6 +326,8 @@ jobs: | |||
--arg mac_x64_url "$RELEASE_DIR/${{ env.URL_CODED_NAME }}-${VERSION_NO_V}-x64-mac.dmg" \ | |||
--arg windows_arm64_url "$RELEASE_DIR/${{ env.URL_CODED_NAME }}-${VERSION_NO_V}-arm64-win.exe" \ | |||
--arg windows_x64_url "$RELEASE_DIR/${{ env.URL_CODED_NAME }}-${VERSION_NO_V}-x64-win.exe" \ | |||
--arg deb_arm64_url "$RELEASE_DIR/${{ env.URL_CODED_NAME }}-${VERSION_NO_V}-arm64-linux.deb" \ | |||
--arg deb_amd64_url "$RELEASE_DIR/${{ env.URL_CODED_NAME }}-${VERSION_NO_V}-amd64-linux.deb" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why, but instead of an x86
file, I get an amd64
file
Hey @TomPridham, thanks for the PR! Sorry realizing now that I didn't follow up on the issue after that comment where I was implying we would want to go for .deb packages as well as .AppImage. Was the 256x256.png icon addition needed on your side to get the icon to show up when running the AppImage file? I believe it's the only change not .deb related here. |
Yeah, adding that 256x256.png icon was the only thing necessary to get the icon to show up. |
@TomPridham Thanks! I'm not 100% sure the added 256x256 file is what's getting the icon to show up on linux though, just tried on a fresh 24.10 install, building the latest from main this morning and the icon is already part of the image, see
but it wasn't showing up until I installed appimaged, the service that's supposed to help integrating appimages in the desktop environment. Likely just linking that desktop file in the image. This is also what this doc is implying https://www.electron.build/icons.html#linux, that |
Yeah, it just works in Ubuntu 24 for me, even without installing that extra service. I had only checked on 22 before. Installing that service was required for the icon to show up when I tested it just now on 22 on a USB. I'll go ahead and close this since it isn't necessary anymore |
Awesome, thanks for testing all of that! |
This updates theelectron-builder.yml
file to output .deb files as well as AppImage files.Also updates the
build-apps.yml
action to copy the new .deb files and send them to the publishing scriptFixes the linux icon so it shows up in the dock and when searching for it
I can't figure out how to get the icon to show up when installing the .deb file or in the file tree, however