mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 06:29:00 +00:00
add steam Proton Support
This commit is contained in:
1 parent
15884179ee
commit
537f9dbdb1
4 files changed
+45
-2
No files matched your search
@@ -33,10 +33,14 @@ export TZ
|
||||
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
|
||||
export INTERNAL_IP
|
||||
|
||||
# Set environment for Steam Proton
|
||||
mkdir -p /home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID}
|
||||
export STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/container/.steam/steam"
|
||||
export STEAM_COMPAT_DATA_PATH="/home/container/.steam/steam/steamapps/compatdata/${SRCDS_APPID}"
|
||||
|
||||
# Switch to the container's working directory
|
||||
cd /home/container || exit 1
|
||||
|
||||
|
||||
## just in case someone removed the defaults.
|
||||
if [ "${STEAM_USER}" == "" ]; then
|
||||
echo -e "steam user is not set.\n"
|
||||
|
||||
Reference in new issue
Block a user