Packaging a native binary to AppImage
- https://github.com/linuxdeploy/linuxdeploy/releases/tag/continuous
- https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases
Both AppImage files need to be downloaded to the same directory.
You need to create a "desktop file", here's an example for a terminal program:
[Desktop Entry]
Type=Application
Name=My Program
Exec=myprogram
Comment=My Super Program
Categories=Development;
Icon=ei-pencil
Terminal=true
Save it as myprogram.desktop
You also need an SVG icon for your program, for example one of: https://github.com/evil-icons/evil-icons/tree/master/assets/icons
The "Icon=" entry in .desktop file must match the file name, without .svg
You need to run the commands while being in a git repo. If you don't have a relevant repo, just run "git init" in the directory with .desktop file.
~/linuxdeploy-centos6-x86_64.AppImage --appdir AppDir --output appimage -e /home/you/bin/myprogram -d /home/you/myprogram.desktop -i /home/you/ei-pencil.svg
That's about fucking it.