Skip to content

Linux AppImage seems to be broken, failing to integrate with AppImageLauncher #34

@henriquecolini

Description

@henriquecolini

Description of the Problem

The Linux AppImage seems to be broken. I can run it just fine, but there is no icon, and it fails to be integrated to the system with AppImageLauncher. The logs suggest that both the icon and the desktop entry aren't working.

This has been verified to not be an issue with AppImageLauncher, as I've tested other AppImages and they integrate to the system just fine.

To Reproduce
Steps to reproduce the behavior:

  1. Download the latest Linux release of UnityHubNative.
  2. Have AppImageLauncher installed in your system.
  3. Unzip and make the UnityHubNative AppImage executable.
  4. Run the AppImage, and integrate it to the system.

Expected behavior
The AppImage gets integrated to the system as usual.

Screenshots and/or logs
Screenshot from 2023-08-02 17-47-42
Screenshot from 2023-08-02 17-48-06

When running from a terminal, we get the following logs:

$ ./UnityHubNative.AppImage 
WARNING: No icons found at "usr/share/icons"
WARNING: Using .DirIcon as default app icon
ERROR: Unable to load image.
ERROR: No icon was generated for: /home/henrique/Applications/UnityHubNative_856452fd4606b11d68f9e6b7d15a6679.AppImage
ERROR: appimage_register_in_system : Missing Desktop Entry
Directory '/home/henrique/.local/share/mime/packages' does not exist!

Computer information:

  • OS: Ubuntu 22.04.2 LTS

Additional context
Just for comparison, these are the logs when integrating the draw.io AppImage to the system. There is a bunch of other icon extraction logs in here, one for each icon size. I've ommited them for simplicity.

Extracting usr/share/icons/hicolor/1024x1024/apps/drawio.png to "/home/henrique/.local/share/icons/hicolor/1024x1024/apps/appimagekit_c316550eb423e6c34d30fe7c366e5806_drawio.png"
WARNING: Unable to resize the application icon into a 128x128 image: "Unable to load image.". It will be written unchanged.
WARNING: Unable to resize the application icon into a 256x256 image: "Unable to load image.". It will be written unchanged.
gtk-update-icon-cache: Cache file created successfully.
Directory '/home/henrique/.local/share/mime/packages' does not exist!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompletedhelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions