From c360dbf9c42f71e7931c56b7a396ba7f7e9982e6 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Mon, 23 Feb 2026 17:44:12 -0600 Subject: Remove umu-run, keep game as child process for Steam tracking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove umu-run entirely (crashed due to pressure-vessel/FUSE incompatibility) — use raw `proton run` instead - Replace startDetached() with QProcess::start() so the game stays in Fluorine's process tree. This lets Steam track the game lifetime and makes the "close game" button work when Fluorine is added as a non-Steam game. - Add writeIniValueDirect/readIniValueDirect for safe Bethesda INI handling without QSettings corruption - Fix prefix_setup.rs to skip umu-run bootstrapping - Clean up settings UI, build scripts, and docs for umu-run removal Co-Authored-By: Claude Opus 4.6 --- docker/AppRun.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docker/AppRun.sh') diff --git a/docker/AppRun.sh b/docker/AppRun.sh index f0ae807..e897309 100644 --- a/docker/AppRun.sh +++ b/docker/AppRun.sh @@ -89,6 +89,9 @@ if [ -d "${APPIMAGE_DIR}/plugins/plugin_python" ]; then fi # ── Environment ── +# Save original LD_LIBRARY_PATH so child processes (xdg-open, kde-open, etc.) +# can use host libraries instead of the bundled (potentially older) ones. +export FLUORINE_ORIG_LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}" export PATH="${HERE}/usr/bin:${HERE}/usr/libexec:${PATH}" export LD_LIBRARY_PATH="${HERE}/usr/lib:${HERE}/usr/libexec:${LD_LIBRARY_PATH:-}" @@ -117,7 +120,7 @@ else export MO2_PYTHON_DIR="${APPIMAGE_DIR}/python" fi # Do not export PYTHONHOME/PYTHONPATH globally here. MO2 sets Python runtime -# internally for plugin_python, while child processes (umu/NaK/launchers) must +# internally for plugin_python, while child processes (NaK/launchers) must # use their own system Python environment. unset PYTHONHOME PYTHONPATH PYTHONNOUSERSITE -- cgit v1.3.1