maybe finally fixed???
This commit is contained in:
2 files changed
+14
-11
No files matched your search
@@ -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))"
|
||||
Reference in new issue
Block a user