mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
parent
e972fa27a1
commit
3301bd3b02
12
proton
12
proton
@ -1034,9 +1034,15 @@ class CompatData:
|
|||||||
g_session.dlloverrides[f] = "n"
|
g_session.dlloverrides[f] = "n"
|
||||||
|
|
||||||
for f in icufiles:
|
for f in icufiles:
|
||||||
self.create_symlink(self.prefix_dir + "drive_c/windows/system32/" + f + ".dll",
|
dst = "drive_c/windows/system32/" + f + ".dll"
|
||||||
g_proton.lib64_dir + "icu/" + f + ".dll")
|
if not file_exists(self.prefix_dir + dst, follow_symlinks=False):
|
||||||
tracked_files.write("drive_c/windows/system32/" + f + '.dll\n')
|
tracked_files.write(dst + '\n')
|
||||||
|
self.create_symlink(self.prefix_dir + dst, g_proton.lib64_dir + "icu/" + f + ".dll")
|
||||||
|
|
||||||
|
dst = "drive_c/windows/syswow64/" + f + ".dll"
|
||||||
|
if not file_exists(self.prefix_dir + dst, follow_symlinks=False):
|
||||||
|
tracked_files.write(dst + '\n')
|
||||||
|
self.create_symlink(self.prefix_dir + dst, g_proton.lib_dir + "icu/" + f + ".dll")
|
||||||
|
|
||||||
# If the user requested the NVAPI be available, copy it into place.
|
# If the user requested the NVAPI be available, copy it into place.
|
||||||
# If they didn't, clean up any stray nvapi DLLs.
|
# If they didn't, clean up any stray nvapi DLLs.
|
||||||
|
Loading…
Reference in New Issue
Block a user