Properly use and document the steam-runtime run.sh script

This commit is contained in:
Andrew Eikum 2018-05-31 11:38:54 -05:00
parent e7122c820d
commit 5d764832bc
2 changed files with 5 additions and 3 deletions

View File

@ -44,8 +44,8 @@ changes to the <tt>wine/</tt> directory.
--- ---
Building for Linux Building for Linux
--- ---
To build Proton for Linux, set up a Debian machine with the Steam chroots as To build Proton for Linux, set up a Debian machine with the Steam runtime and
documented in the Steam Runtime repository: chroots as documented in the Steam Runtime repository:
<https://github.com/ValveSoftware/steam-runtime> <https://github.com/ValveSoftware/steam-runtime>
@ -56,6 +56,8 @@ not be complete.
cd ~ cd ~
git clone https://github.com/ValveSoftware/steam-runtime.git git clone https://github.com/ValveSoftware/steam-runtime.git
cd steam-runtime cd steam-runtime
#install the end-user steam runtime:
./build-runtime.py
#install the 32-bit scout_beta runtime: #install the 32-bit scout_beta runtime:
./setup_chroot.sh --beta --i386 ./setup_chroot.sh --beta --i386
#enter the 32-bit runtime: #enter the 32-bit runtime:

View File

@ -580,7 +580,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/run.sh RUNTIME_RUNSH="$HOME"/steam-runtime/runtime/run.sh
else else
RUNTIME_RUNSH="" RUNTIME_RUNSH=""
fi fi