TheAssassin / AppImageLauncher

Helper application for Linux distributions serving as a kind of "entry point" for running and integrating AppImages
https://assassinate-you.net/tags/appimagelauncher/
MIT License
5.69k stars 265 forks source link

App icon is missing if the icon name contains non-ascii characters #648

Open omergoktas opened 5 months ago

omergoktas commented 5 months ago

Pre-submit checks

Describe the bug

Pretty self explanatory title. My app, for instance, has an icon with the file name "ÖmerGöktaş.png". Here is the result:

Ekran Görüntüsü - 2024-06-28 22-50-28

The desktop entry created in the ~/.local/share/applications contains malformed Icon entry, here:

[Desktop Entry]
Type=Application
Name=ÖmerGöktaş (1.0.0)
Exec=/home/omergoktas/Genel/apps/ÖmerGöktaş-1.0.0-x86_64_1ce20bbfd271b517ff16f70fb8b7ab21.AppImage
Icon=appimagekit_e8d40e8f0dc7e231bd89570a4332d564___merG__kta__
Comment=Project template for Qt-based cross-platform apps.
Categories=Utility;
X-AppImage-Version=1.0.0
...

Expected behavior

I expect an app icon in the menu.

Steps to reproduce the issue

No response

Screenshots

No response

Distribution and desktop environment

Fedora Workstation 40 with Cinnamon Desktop Environment

Installed AppImageLauncher version

appimagelauncher-2.2.0-travis995.0f91801.x86_64.rpm

List of AppImages you tried

No response

Additional context

P.S. I use my own homegrown Qt-based appimage creation tool to create appimages (due to certain Qt specific stuff lacking in yours), and did not create my appimage with your app image creation tool (your creation tool could be mitigating this issue in the creation phase, so I thought it might be relevant to know). I believe this is still a relevant bug for the AppImageLauncher side to fix.