aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/AppRun.sh4
-rwxr-xr-xdocker/build-inner.sh8
2 files changed, 12 insertions, 0 deletions
diff --git a/docker/AppRun.sh b/docker/AppRun.sh
index e897309..41d1223 100644
--- a/docker/AppRun.sh
+++ b/docker/AppRun.sh
@@ -124,5 +124,9 @@ fi
# use their own system Python environment.
unset PYTHONHOME PYTHONPATH PYTHONNOUSERSITE
+# Raise open file descriptor limit — large modlists with FUSE VFS
+# can easily exceed the default 1024
+ulimit -n 65536 2>/dev/null
+
cd "${APPIMAGE_DIR}"
exec "${HERE}/usr/bin/ModOrganizer.bin" "$@"
diff --git a/docker/build-inner.sh b/docker/build-inner.sh
index 98b8932..10c1818 100755
--- a/docker/build-inner.sh
+++ b/docker/build-inner.sh
@@ -432,6 +432,10 @@ unset PYTHONPATH PYTHONNOUSERSITE PYTHONHOME MO2_PYTHON_DIR
export QT_PLUGIN_PATH="${RUN}/qt6plugins"
export QT_QPA_PLATFORM_PLUGIN_PATH="${RUN}/qt6plugins/platforms"
+# Raise open file descriptor limit — large modlists with FUSE VFS
+# can easily exceed the default 1024
+ulimit -n 65536 2>/dev/null
+
export FLUORINE_LAUNCH_DIR="${PWD}"
cd "${RUN}"
exec "${RUN}/ModOrganizer-core" "$@"
@@ -663,6 +667,10 @@ 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}"
+# Raise open file descriptor limit — large modlists with FUSE VFS
+# can easily exceed the default 1024
+ulimit -n 65536 2>/dev/null
+
export FLUORINE_LAUNCH_DIR="${PWD}"
cd "${APPIMAGE_DIR}"
exec "${BIN}/ModOrganizer-core" "$@"