mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-15 16:18:20 +03:00
Build the default prefix on the build machine
This commit is contained in:
parent
6f1ab7537b
commit
417831eeca
@ -79,6 +79,10 @@ Next, you need to repeat the process, but for amd64:
|
|||||||
|
|
||||||
And then repeat all of the commands to install gcc and Wine dependencies again.
|
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.
|
||||||
|
|
||||||
Finally, change your directory back to proton, and run:
|
Finally, change your directory back to proton, and run:
|
||||||
|
|
||||||
cd ../proton
|
cd ../proton
|
||||||
|
@ -497,6 +497,11 @@ if [ "$PACKAGE" = true ]; then
|
|||||||
echo "Packaging..."
|
echo "Packaging..."
|
||||||
cd "$TOP"
|
cd "$TOP"
|
||||||
|
|
||||||
|
#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
|
||||||
|
|
||||||
#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…
x
Reference in New Issue
Block a user