aboutsummaryrefslogtreecommitdiff
path: root/flatpak
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-14 02:45:12 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-14 02:45:25 -0600
commit817e8f5cd26739c69d930d21cd9dc4c0b6e4984e (patch)
tree52aed11d6751bb7d20b06acf197d56fac113203d /flatpak
parent51a9f8f197727f00896e5de44569b098923527dd (diff)
Add FUSE external mapping support, BG3/Oblivion Remastered fixes, fomod-plus and NaK integration
FUSE VFS now deploys non-data-dir mod mappings (Paks, OBSE, UE4SS, etc.) via real symlinks and injects file-level data-dir mappings (plugins.txt, loadorder.txt) into the VFS tree. Fixes game launches for Oblivion Remastered (Root Builder path resolution, script extender support) and BG3 (Wine prefix documents directory, file mapper symlinks on Linux). Vendors mo2-fomod-plus plugin and NaK crate for FOMOD installer and game finder/runtime support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'flatpak')
-rw-r--r--flatpak/com.fluorine.manager.yml10
-rwxr-xr-xflatpak/flatpak-install.sh4
2 files changed, 10 insertions, 4 deletions
diff --git a/flatpak/com.fluorine.manager.yml b/flatpak/com.fluorine.manager.yml
index 0265b90..834d8e9 100644
--- a/flatpak/com.fluorine.manager.yml
+++ b/flatpak/com.fluorine.manager.yml
@@ -13,7 +13,9 @@ finish-args:
- --socket=wayland
- --device=all
- --filesystem=home
- - --filesystem=/run/media:ro
+ - --filesystem=/mnt
+ - --filesystem=/media
+ - --filesystem=/run/media
- --filesystem=~/.steam:ro
- --filesystem=~/.local/share/Steam
- --filesystem=~/.var/app/com.valvesoftware.Steam:ro
@@ -292,6 +294,7 @@ modules:
find _build/libs -type f \( \
-name "libgame_*.so" -o \
-name "libinstaller_*.so" -o \
+ -name "libfomod_plus_*.so" -o \
-name "libpreview_*.so" -o \
-name "libdiagnose_*.so" -o \
-name "libcheck_*.so" -o \
@@ -305,7 +308,7 @@ modules:
# Python plugin payload.
- |
- for f in libplugin_python.so lzokay.py winreg.py pyCfg.py \
+ for f in libplugin_python.so lzokay.py winreg.py \
DDSPreview.py Form43Checker.py ScriptExtenderPluginChecker.py; do
[ -f "_build/src/src/plugins/${f}" ] && cp -f "_build/src/src/plugins/${f}" /app/lib/fluorine/plugins/
done
@@ -320,6 +323,9 @@ modules:
[ -f "${f}" ] && cp -f "${f}" /app/lib/fluorine/plugins/
done
+ # Stylesheets / themes.
+ - cp -a src/src/stylesheets /app/lib/fluorine/stylesheets
+
# 7z runtime.
- |
if [ -f _build/src/src/dlls/7z.so ]; then
diff --git a/flatpak/flatpak-install.sh b/flatpak/flatpak-install.sh
index f5cdfda..53c0645 100755
--- a/flatpak/flatpak-install.sh
+++ b/flatpak/flatpak-install.sh
@@ -32,7 +32,7 @@ if [ "${MODE}" = "bundle" ]; then
# ── Build a distributable .flatpak file ──
echo ""
echo "Building Flatpak bundle (this may take a while)..."
- flatpak-builder --repo="${PROJECT_DIR}/flatpak-repo" --force-clean \
+ flatpak-builder --repo="${PROJECT_DIR}/flatpak-repo" --force-clean --ccache \
"${BUILD_DIR}" "${MANIFEST}"
flatpak build-bundle \
--runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \
@@ -47,7 +47,7 @@ else
# ── Build and install locally ──
echo ""
echo "Building and installing Flatpak locally (this may take a while)..."
- flatpak-builder --install --user --force-clean \
+ flatpak-builder --install --user --force-clean --ccache \
"${BUILD_DIR}" "${MANIFEST}"
echo ""
echo "=== Flatpak installed successfully ==="