Skip to content

Commit

Permalink
proton: Link ICU 6.8 dlls into the prefix.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #24402
  • Loading branch information
Paul Gofman authored and ivyl committed Nov 18, 2024
1 parent 83c6c2d commit 4ea1be2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,8 @@ class CompatData:
else:
wined3dfiles.append("d3d8")

icufiles = ["icuin68", "icuuc68", "icudt68"]

for f in wined3dfiles:
try_copy(g_proton.default_pfx_dir + "drive_c/windows/system32/" + f + ".dll", "drive_c/windows/system32",
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
Expand All @@ -1034,6 +1036,11 @@ class CompatData:
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True, optional=optional)
g_session.dlloverrides[f] = "n"

for f in icufiles:
self.create_symlink(self.prefix_dir + "drive_c/windows/system32/" + f + ".dll",
g_proton.lib64_dir + "icu/" + f + ".dll")
tracked_files.write("drive_c/windows/system32/" + f + '.dll\n')

# If the user requested the NVAPI be available, copy it into place.
# If they didn't, clean up any stray nvapi DLLs.
if use_nvapi:
Expand Down

0 comments on commit 4ea1be2

Please sign in to comment.