diff options
author | Andrew Eikum <aeikum@codeweavers.com> | 2018-05-23 23:05:36 +0300 |
---|---|---|
committer | Andrew Eikum <aeikum@codeweavers.com> | 2018-05-23 23:07:36 +0300 |
commit | a38fb17c7ae25563a320d3ea01b52bcdc21a20d8 (patch) | |
tree | 0629ec5ce64cd135a84f74340c536a627904254b | |
parent | 565041c0e7fe58cef1e097fbe0094a2f3e228d1e (diff) |
build_proton: Build default prefix against the Steam runtimeproton-3.7-20180523
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | build_proton.sh | 9 |
2 files changed, 8 insertions, 2 deletions
@@ -82,6 +82,7 @@ And then repeat all of the commands to install gcc and Wine dependencies again. In addition, your host system will need to be able to run Wine in both 64- and 32-bit modes in order to create the default prefix. It is recommended to install Wine from your package manager, including its optional dependencies. +You will also need the Steam runtime located at $HOME/steam-runtime. Finally, change your directory back to proton, and run: diff --git a/build_proton.sh b/build_proton.sh index f209f412..9b0c188a 100755 --- a/build_proton.sh +++ b/build_proton.sh @@ -499,8 +499,13 @@ if [ "$PACKAGE" = true ]; then #create default prefix rm -rf "$TOP"/build/dist/share/default_pfx/ - WINEPREFIX="$TOP"/build/dist/share/default_pfx/ ./build/dist/bin/wine64 wineboot - WINEPREFIX="$TOP"/build/dist/share/default_pfx/ ./build/dist/bin/wineserver -w + if [ "$PLATFORM" != "Darwin" ]; then + RUNTIME_RUNSH="$HOME"/steam-runtime/run.sh + else + RUNTIME_RUNSH="" + fi + WINEPREFIX="$TOP"/build/dist/share/default_pfx/ "$RUNTIME_RUNSH" ./build/dist/bin/wine64 wineboot + WINEPREFIX="$TOP"/build/dist/share/default_pfx/ "$RUNTIME_RUNSH" ./build/dist/bin/wineserver -w #the difference between -1 and -9 is about 20 MB, so prioritize quick startup over file size tar -C build/dist -c . | gzip -c -1 > dist/proton_dist.tar.gz |