mirror of
https://github.com/Ayymoss/Plutainer
synced 2026-08-24 14:32:06 -04:00
Add xvfb virtual framebuffer for T7x Wine display requirement
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
740421cb35
commit
01db25a031
2 changed files with 6 additions and 3 deletions
|
|
@ -14,7 +14,8 @@ RUN apt-get install -y --no-install-recommends \
|
|||
gpg \
|
||||
ca-certificates \
|
||||
tar \
|
||||
python3
|
||||
python3 \
|
||||
xvfb
|
||||
|
||||
# Add WineHQ repository key
|
||||
RUN mkdir -pm755 /etc/apt/keyrings && \
|
||||
|
|
|
|||
|
|
@ -97,6 +97,8 @@ if [[ -n "${ALTER_EXTRA_ARGS}" ]]; then
|
|||
fi
|
||||
|
||||
# --- Step 6: Launch the T7x Server ---
|
||||
# T7x requires a display even in dedicated/headless mode, so use xvfb-run
|
||||
# to provide a virtual framebuffer for Wine
|
||||
echo "Starting T7x Server: ${ALTER_SERVER_NAME}"
|
||||
echo "EXECUTING: wine t7x.exe ${CMD_ARGS[@]}"
|
||||
exec wine t7x.exe "${CMD_ARGS[@]}"
|
||||
echo "EXECUTING: xvfb-run wine t7x.exe ${CMD_ARGS[@]}"
|
||||
exec xvfb-run wine t7x.exe "${CMD_ARGS[@]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue