feat: add AppImage build pipeline with desktop integration and dependency bundling

Implement full AppImage packaging support including AppRun entry point, .desktop launcher, icon asset, and recursive shared library collection via collect_so_files.sh. The Makefile build target now generates a portable Linux executable by assembling the directory structure, copying the binary to AppImage/usr/bin/r, running the dependency collector, and invoking appimagetool to produce a self-contained AppImage binary. Also update .gitignore to exclude the AppImage build directory and add shell scripts to the ignore list.
This commit is contained in:
2025-04-08 22:00:21 +00:00
parent 0f43cd435c
commit 606bc27834
7 changed files with 61 additions and 11 deletions
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
HERE="$(dirname "$(readlink -f "$0")")"
export LD_LIBRARY_PATH="$HERE/usr/lib:$LD_LIBRARY_PATH"
exec "$HERE/usr/bin/r" "$@"