build_proton: Build default prefix against the Steam runtime
This commit is contained in:
parent
565041c0e7
commit
a38fb17c7a
2 changed files with 8 additions and 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
|
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
|
32-bit modes in order to create the default prefix. It is recommended to
|
||||||
install Wine from your package manager, including its optional dependencies.
|
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:
|
Finally, change your directory back to proton, and run:
|
||||||
|
|
||||||
|
|
|
@ -499,8 +499,13 @@ 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/
|
||||||
WINEPREFIX="$TOP"/build/dist/share/default_pfx/ ./build/dist/bin/wine64 wineboot
|
if [ "$PLATFORM" != "Darwin" ]; then
|
||||||
WINEPREFIX="$TOP"/build/dist/share/default_pfx/ ./build/dist/bin/wineserver -w
|
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
|
#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
|
tar -C build/dist -c . | gzip -c -1 > dist/proton_dist.tar.gz
|
||||||
|
|
Loading…
Reference in a new issue