Compare commits

...

1 Commits

Author SHA1 Message Date
Zebediah Figura
80cba82d25 proton: Always check if the prefix config changed.
In particular, make sure that we update builtin dlls for the first process that runs.
2021-06-16 14:39:13 -05:00

3
proton
View File

@ -477,7 +477,6 @@ class CompatData:
builtin_dll_copy,
))
if old_ver == CURRENT_PREFIX_VERSION:
# check whether any prefix config has changed
try:
with open(self.config_info_file, "r") as f:
@ -485,7 +484,7 @@ class CompatData:
except IOError:
old_prefix_info = ""
if old_prefix_info != prefix_info:
if old_ver != CURRENT_PREFIX_VERSION or old_prefix_info != prefix_info:
# update builtin dll symlinks or copies
self.update_builtin_libs(builtin_dll_copy)