diff options
Diffstat (limited to 'flatpak')
| -rw-r--r-- | flatpak/com.fluorine.manager.yml | 6 | ||||
| -rwxr-xr-x | flatpak/flatpak-install.sh | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/flatpak/com.fluorine.manager.yml b/flatpak/com.fluorine.manager.yml index a0e2122..0265b90 100644 --- a/flatpak/com.fluorine.manager.yml +++ b/flatpak/com.fluorine.manager.yml @@ -314,6 +314,12 @@ modules: done rm -f /app/lib/fluorine/plugins/FNIS*.py + # Source-tree Python plugins (rootbuilder, omod installer, etc.). + - | + for f in src/plugins/*.py; do + [ -f "${f}" ] && cp -f "${f}" /app/lib/fluorine/plugins/ + done + # 7z runtime. - | if [ -f _build/src/src/dlls/7z.so ]; then diff --git a/flatpak/flatpak-install.sh b/flatpak/flatpak-install.sh index e52497e..f5cdfda 100755 --- a/flatpak/flatpak-install.sh +++ b/flatpak/flatpak-install.sh @@ -34,7 +34,9 @@ if [ "${MODE}" = "bundle" ]; then echo "Building Flatpak bundle (this may take a while)..." flatpak-builder --repo="${PROJECT_DIR}/flatpak-repo" --force-clean \ "${BUILD_DIR}" "${MANIFEST}" - flatpak build-bundle "${PROJECT_DIR}/flatpak-repo" "${PROJECT_DIR}/fluorine-manager.flatpak" "${APP_ID}" + flatpak build-bundle \ + --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \ + "${PROJECT_DIR}/flatpak-repo" "${PROJECT_DIR}/fluorine-manager.flatpak" "${APP_ID}" BUNDLE_SIZE="$(du -sh fluorine-manager.flatpak | cut -f1)" echo "" echo "=== Bundle created: fluorine-manager.flatpak (${BUNDLE_SIZE}) ===" |
