diff options
| -rw-r--r-- | docker/AppRun.sh | 4 | ||||
| -rwxr-xr-x | docker/build-inner.sh | 8 | ||||
| -rwxr-xr-x | src/fluorine-manager | 5 |
3 files changed, 17 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" "$@" diff --git a/src/fluorine-manager b/src/fluorine-manager index c694ad3..c6fe858 100755 --- a/src/fluorine-manager +++ b/src/fluorine-manager @@ -1,4 +1,9 @@ #!/bin/bash # Fluorine Manager - thin wrapper around ModOrganizer MO2_DIR="$(cd "$(dirname "$0")" && pwd)" + +# Raise open file descriptor limit — large modlists with FUSE VFS +# can easily exceed the default 1024 +ulimit -n 65536 2>/dev/null + exec "${MO2_DIR}/ModOrganizer" "$@" |
