aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-18 08:18:53 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-03-18 08:18:53 -0500
commit265c1fecf63ad2c2383bd7de7be6d33a32f0b77d (patch)
treeba99488c28d6a7124a3199479a824b4160827d09 /docker
parent412eda0369cb89c8fed871d46227bbe671c4fd68 (diff)
Add per-session timestamped log files in launch directory, keep last 5
Each launch creates a new mo_interface_YYYY-MM-DD_HH-MM-SS.log in a logs/ folder next to where fluorine-manager was run from. Old logs are cleaned up to keep only the 5 most recent. Launcher scripts export FLUORINE_LAUNCH_DIR before cd'ing to the bin directory so the C++ side knows the original working directory. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/build-inner.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/build-inner.sh b/docker/build-inner.sh
index 2d32e31..98b8932 100755
--- a/docker/build-inner.sh
+++ b/docker/build-inner.sh
@@ -432,6 +432,7 @@ unset PYTHONPATH PYTHONNOUSERSITE PYTHONHOME MO2_PYTHON_DIR
export QT_PLUGIN_PATH="${RUN}/qt6plugins"
export QT_QPA_PLATFORM_PLUGIN_PATH="${RUN}/qt6plugins/platforms"
+export FLUORINE_LAUNCH_DIR="${PWD}"
cd "${RUN}"
exec "${RUN}/ModOrganizer-core" "$@"
LAUNCH
@@ -662,6 +663,7 @@ export QT_ICON_THEME_NAME="${QT_ICON_THEME_NAME:-breeze}"
export QT_STYLE_OVERRIDE="${QT_STYLE_OVERRIDE:-Breeze}"
export XDG_CURRENT_DESKTOP="${XDG_CURRENT_DESKTOP:-KDE}"
+export FLUORINE_LAUNCH_DIR="${PWD}"
cd "${APPIMAGE_DIR}"
exec "${BIN}/ModOrganizer-core" "$@"
APPRUN