mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: Always check if the prefix config changed.
In particular, make sure that we update builtin dlls for the first process that runs.
This commit is contained in:
parent
353e1b00c6
commit
8475bf39bc
3
proton
3
proton
@ -531,7 +531,6 @@ class CompatData:
|
|||||||
builtin_dll_copy,
|
builtin_dll_copy,
|
||||||
))
|
))
|
||||||
|
|
||||||
if old_ver == CURRENT_PREFIX_VERSION:
|
|
||||||
# check whether any prefix config has changed
|
# check whether any prefix config has changed
|
||||||
try:
|
try:
|
||||||
with open(self.config_info_file, "r") as f:
|
with open(self.config_info_file, "r") as f:
|
||||||
@ -539,7 +538,7 @@ class CompatData:
|
|||||||
except IOError:
|
except IOError:
|
||||||
old_prefix_info = ""
|
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
|
# update builtin dll symlinks or copies
|
||||||
self.update_builtin_libs(builtin_dll_copy)
|
self.update_builtin_libs(builtin_dll_copy)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user