From cff466cc6d51c02681b4db4feffd7cfc0a13e0c9 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 30 Apr 2025 17:17:53 +0300 Subject: [PATCH] proton: Create prefix creation guard for unknown prefix versions. --- proton | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proton b/proton index 8c42064b..e0c2c528 100755 --- a/proton +++ b/proton @@ -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):