1
0
mirror of https://github.com/ValveSoftware/Proton.git synced 2025-04-10 11:30:13 +03:00

fixup! proton: Sync pfx creation and create a guard file.

This commit is contained in:
Arkadiusz Hiler 2022-12-08 01:47:03 +02:00
parent a2d61f3bf3
commit a25739530b

2
proton

@ -629,7 +629,7 @@ class CompatData:
if int(old_proton_maj) < 7 or (int(old_proton_maj) == 7 and
int(old_proton_min) == 0 and
int(old_prefix_ver) < 101):
with open(self.creation_sync_guard, "x"):
with open(self.creation_sync_guard, "w"):
pass
os.sync()