proton: Create prefix creation guard for unknown prefix versions.

This commit is contained in:
Arkadiusz Hiler 2025-04-30 17:17:53 +03:00
parent 8c0fbeb050
commit f6c2155731

3
proton
View File

@ -769,6 +769,9 @@ class CompatData:
except ValueError:
log("Prefix has an invalid version?! You may want to back up user files and delete this prefix.")
#Just let the Wine upgrade happen and hope it works...
with open(self.creation_sync_guard, "w"):
pass
os.sync()
return
def pfx_copy(self, src, dst, dll_copy=False):