mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-13 01:05:37 +02:00
#### Description This PR will be fixing issue of runner not working under Ubuntu and other Debian-based distros with NVIDIA GPUs. Another fix will be arriving is allowing Steam to run without namespace requirements, removing the need for `--privileged` flag in certain situations. #### Type of Change - [x] Bug fix (non-breaking change) --------- Co-authored-by: DatCaptainHorse <DatCaptainHorse@users.noreply.github.com>
12 lines
245 B
Bash
12 lines
245 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
export XDG_RUNTIME_DIR=/run/user/${UID}/
|
|
export WAYLAND_DISPLAY=wayland-0
|
|
export XDG_SESSION_TYPE=wayland
|
|
export DISPLAY=:0
|
|
export $(dbus-launch)
|
|
|
|
# Our preferred prefix
|
|
export WINEPREFIX=/home/${USER}/.nestripfx/
|