proton: Only skip rebuilding symlinks

This commit is contained in:
Andrew Eikum 2020-07-28 10:07:43 -05:00
parent ccb17c00cc
commit d620a32883

12
proton
View File

@ -409,11 +409,12 @@ class CompatData:
except IOError:
old_prefix_info = ""
if old_prefix_info == prefix_info:
return
if old_prefix_info != prefix_info:
# update builtin dll symlinks or copies
self.update_builtin_libs(builtin_dll_copy)
with open(self.config_info_file, "w") as f:
f.write(prefix_info)
with open(self.config_info_file, "w") as f:
f.write(prefix_info)
with open(self.version_file, "w") as f:
f.write(CURRENT_PREFIX_VERSION + "\n")
@ -421,9 +422,6 @@ class CompatData:
#create font files symlinks
self.create_fonts_symlinks()
# update builtin dll symlinks or copies
self.update_builtin_libs(builtin_dll_copy)
#copy steam files into place
dst = self.prefix_dir + "/drive_c/Program Files (x86)/"
makedirs(dst + "Steam")