maybe finally fixed???

This commit is contained in:
Agel committed 2026-11-13 14:38:13 +01:00
1 parent 5517692bb5
commit 62c08ac9e0
2 files changed
+14 -11

No files matched your search

+6 -3
View File
@@ -54,12 +54,15 @@ python3 "$PROJECT_DIR/scripts/bundle-linux-appdir.py" \
--arch "$ARCH"
# ── Generate AppImage with appimagetool ──────────────────────────────────────
RUNTIME_ARGS=()
APPIMAGETOOL_ARGS=()
if [ -f "/opt/appimage/runtime-${APPIMAGE_ARCH}" ]; then
RUNTIME_ARGS=(--runtime-file "/opt/appimage/runtime-${APPIMAGE_ARCH}")
APPIMAGETOOL_ARGS+=(--runtime-file "/opt/appimage/runtime-${APPIMAGE_ARCH}")
fi
if [ -n "${JOBS:-}" ]; then
APPIMAGETOOL_ARGS+=(--mksquashfs-opt -processors --mksquashfs-opt "$JOBS")
fi
ARCH="$APPIMAGE_ARCH" appimagetool "${RUNTIME_ARGS[@]}" \
ARCH="$APPIMAGE_ARCH" appimagetool "${APPIMAGETOOL_ARGS[@]}" \
"$APPDIR" "$OUTPUT_DIR/$OUTPUT_NAME"
echo "==> AppImage ($ARCH) created: $OUTPUT_DIR/$OUTPUT_NAME ($(du -sh "$OUTPUT_DIR/$OUTPUT_NAME" | cut -f1))"