proton: Invalidate Ubisoft Launcher installation after deleting regsitry.

CW-Bug-Id: #23953
This commit is contained in:
Paul Gofman 2024-07-19 15:37:09 -06:00 committed by Arkadiusz Hiler
parent 2e97e9f002
commit 96e08662b0

3
proton
View file

@ -535,6 +535,9 @@ class CompatData:
#proton 3.7 did not generate tracked_files, so copy it into place first
try_copy(g_proton.path("proton_3.7_tracked_files"), self.tracked_files_file)
self.remove_tracked_files()
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)
return
if old_proton_ver == "3.7" and old_prefix_ver == "1":