From 36a80f46a75638887624f6738b165c63a7fec59b Mon Sep 17 00:00:00 2001 From: Connor McAdams Date: Tue, 9 Sep 2025 09:46:09 -0400 Subject: [PATCH] proton: Delete the creation sync guard file when removing newer prefixes. If this file persists after removing a newer prefix, creation of the current prefix will fail. CW-Bug-Id: #24524 CW-Bug-Id: #19720 --- proton | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proton b/proton index 2ba94cf1..05ade57f 100755 --- a/proton +++ b/proton @@ -653,6 +653,8 @@ class CompatData: path = self.prefix_dir + "/drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/version.txt" if file_exists(path, follow_symlinks=False) and os.path.isfile(path): os.remove(path) + if file_exists(self.creation_sync_guard, follow_symlinks=False): + os.remove(self.creation_sync_guard) return if old_proton_ver == "3.7" and old_prefix_ver == "1":