proton: Lock on write access to the dist/ directory

Steam needs to be able to run proton several times in parallel without
it becoming corrupted.
This commit is contained in:
Andrew Eikum
2018-03-16 10:08:29 -05:00
parent e59105dc2f
commit 7a20ea9c1f
3 changed files with 470 additions and 14 deletions

View File

@ -409,6 +409,7 @@ cd "$TOP"
tar -C build/dist -c . | gzip -c -1 > dist/proton_dist.tar.gz
cp -a toolmanifest.vdf dist/
cp -a filelock.py dist/
cp -a proton dist/
if [ "$PLATFORM" == "Darwin" ]; then
cp -a LICENSE.osx dist/LICENSE