From 63c1d07d0791a3e7d28079f925209e70c40e5523 Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Mon, 25 Jun 2018 10:57:31 -0500 Subject: [PATCH] Allow a dev to have the steam-runtime somewhere other than $HOME/ --- build_proton.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_proton.sh b/build_proton.sh index 0d40e97f..6e4e35ba 100755 --- a/build_proton.sh +++ b/build_proton.sh @@ -18,6 +18,8 @@ set -e JOBS=-j5 PLATFORM=$(uname) +[ -z "$STEAM_RUNTIME" ] && STEAM_RUNTIME="$HOME/steam-runtime" + #./wine/ <-- wine source #./build/ <-- build files #./dist/ <-- proton build, ready to distribute @@ -593,7 +595,7 @@ if [ "$PACKAGE" = true ]; then #create default prefix rm -rf "$TOP"/build/dist/share/default_pfx/ if [ "$PLATFORM" != "Darwin" ]; then - RUNTIME_RUNSH="$HOME"/steam-runtime/runtime/run.sh + RUNTIME_RUNSH="$STEAM_RUNTIME"/runtime/run.sh else RUNTIME_RUNSH="" fi