Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions proton/rootfs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,19 @@ mkdir -p "${STEAM_COMPAT_DATA_PATH}"

if [ "${BACKGROUND_PROCESS}" = "true" ]; then
if [ "${XVFB_NEEDED}" = "true" ]; then
/etc/init.d/xvfb start
xvfb-run --auto-servernum /steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}" &
else
/steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}" &
fi
/steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}" &
if [ -n "${READ_LOGS_FILE}" ] && [ -f "${READ_LOGS_FILE}" ]; then
exec tail -f "${READ_LOGS_FILE}"
else
tail -f /dev/null
fi
else
/steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}"
if [ "${XVFB_NEEDED}" = "true" ]; then
exec xvfb-run --auto-servernum /steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}"
else
exec /steamcmd/compatibilitytools.d/GE-Proton"${PROTON_VERSION}"/proton run "${EXE_PATH}"
fi
fi
Loading