mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-28 15:45:50 +03:00
Allow a dev to have the steam-runtime somewhere other than $HOME/
This commit is contained in:
parent
a5e05955c1
commit
63c1d07d07
@ -18,6 +18,8 @@ set -e
|
|||||||
JOBS=-j5
|
JOBS=-j5
|
||||||
PLATFORM=$(uname)
|
PLATFORM=$(uname)
|
||||||
|
|
||||||
|
[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime"
|
||||||
|
|
||||||
#./wine/ <-- wine source
|
#./wine/ <-- wine source
|
||||||
#./build/ <-- build files
|
#./build/ <-- build files
|
||||||
#./dist/ <-- proton build, ready to distribute
|
#./dist/ <-- proton build, ready to distribute
|
||||||
@ -593,7 +595,7 @@ if [ "$PACKAGE" = true ]; then
|
|||||||
#create default prefix
|
#create default prefix
|
||||||
rm -rf "$TOP"/build/dist/share/default_pfx/
|
rm -rf "$TOP"/build/dist/share/default_pfx/
|
||||||
if [ "$PLATFORM" != "Darwin" ]; then
|
if [ "$PLATFORM" != "Darwin" ]; then
|
||||||
RUNTIME_RUNSH="$HOME"/steam-runtime/runtime/run.sh
|
RUNTIME_RUNSH="$STEAM_RUNTIME"/runtime/run.sh
|
||||||
else
|
else
|
||||||
RUNTIME_RUNSH=""
|
RUNTIME_RUNSH=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user