winedows/files/entrypoint.sh
2024-10-25 06:40:08 +02:00

8 lines
221 B
Bash
Executable file

#!/usr/bin/env bash
if command -v xinit 2 >&1 >/dev/null; then
xinit -- /usr/bin/Xvfb :1 -screen 0 640x480x24 &>x11.log &
x11vnc -nopw -rfbport 5901 -permitfiletransfer -display :1 &>vnc.log &
fi
wine cmd.exe /c $@