proton: Only skip rebuilding symlinks

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

8
proton
View file

@ -409,8 +409,9 @@ 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)
@ -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")