packaging into an appimage
Distribute a project using an appimage to linux users. Install appimage-builder and linuxdeploy.
define a .desktop file:
| |
create an AppDir using linux deploy:
| |
if there are any static files needed for the project, copy them into the AppDir/usr/bin
directory.
| |
then, create the appimage:
| |
# Note:
The generated appimage is readonly. If the project needs to write files, make sure
to write using absolute paths in application code to the user’s $HOME directory.
Create $HOME/.project_name directory to contain all generated files.