Skip to content

AppImage breaking when opened using an AppImage installer app. (Fix provided)Β #2

@brotenet

Description

@brotenet

Hello Kil0bit,

Btw, big fan of your show! keep up the great work πŸ˜ƒ

I downloaded the KB-Invoice AppImage and tried to install it using kem-a's AppManager (https://github.com/kem-a/AppManager) so that can auto-update it when new versions are out, but (like many other AppImages) it breaks when opened by an AppImage manager app.

I am sending you my script project that I use for building my own AppImages into fully compatible packages with AppImage package manages and also takes care of adding the GitHub website and releases URLs for auto updating.

Image

The "buld_latest.sh" script takes care of creating the required directory structure for the AppImage build as well as downloading the AppImageTool app and building the AppImage itself.
All you need is:

  1. To have the zsync tool installed (e.g. "sudo apt-get install zsync" for ubuntu/debian ...)
  2. To put all you app binaries and resource files in the "build" directory (from this .zip archive)
  3. To put a .png icon image in the root directory of the extracted image.
  4. Edit the "run" file to add the commands for starting your app
  5. Edit the "buld_latest.sh" to set you app name, icon image file name, version, .desktop filename and set you GitHub repository URL.

This script creates an AppImage that is compatible with AppImage updtater tools such as kem-a's AppManager (https://github.com/kem-a/AppManager)

AppImage_Build_Script.zip

Hope this could be helpful to you as well.
Let me know if you need help with adjusting it to your needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions