mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-05-29 14:57:49 +03:00
proton: Create prefix creation guard for unknown prefix versions.
This commit is contained in:
parent
7d79990d4b
commit
cff466cc6d
3
proton
3
proton
@ -769,6 +769,9 @@ class CompatData:
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
log("Prefix has an invalid version?! You may want to back up user files and delete this prefix.")
|
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...
|
#Just let the Wine upgrade happen and hope it works...
|
||||||
|
with open(self.creation_sync_guard, "w"):
|
||||||
|
pass
|
||||||
|
os.sync()
|
||||||
return
|
return
|
||||||
|
|
||||||
def pfx_copy(self, src, dst, dll_copy=False):
|
def pfx_copy(self, src, dst, dll_copy=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user