Skip to content

Commit 08b802a

Browse files
author
Jacob Hrbek
committed
uplay: update workarounds
Attempt to work around rendering issues. As referenced on PhoenicisOrg/scripts#978 uplay needs application settings on `winvista` for `upc.exe` and `UbisoftGameLauncher.exe` to avoid rendering issues (PhoenicisOrg/scripts#965 (comment)). Signed-off-by: Jacob Hrbek <[email protected]>
1 parent b0b1a21 commit 08b802a

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/winetricks

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15058,16 +15058,22 @@ w_metadata uplay apps \
1505815058
year="2013" \
1505915059
media="download" \
1506015060
file1="UplayInstaller.exe" \
15061-
installed_exe1="$W_PROGRAMS_X86_WIN/Ubisoft/Ubisoft Game Launcher/Uplay.exe"
15061+
installed_exe1="${W_PROGRAMS_X86_WIN}/Ubisoft/Ubisoft Game Launcher/Uplay.exe"
1506215062

1506315063
load_uplay()
1506415064
{
1506515065
# Changes too frequently, don't check anymore
15066-
w_download https://static3.cdn.ubi.com/orbit/launcher_installer/UplayInstaller.exe
15067-
w_try_cd "$W_CACHE/$W_PACKAGE"
15066+
w_download 'https://ubistatic3-a.akamaihd.net/orbit/releases/winxp/installer/UplayInstaller.exe'
15067+
w_try_cd "${W_CACHE}/${W_PACKAGE}"
1506815068

1506915069
# NSIS installer
15070-
w_try "$WINE" UplayInstaller.exe ${W_OPT_UNATTENDED:+ /S}
15070+
w_try "${WINE}" UplayInstaller.exe ${W_OPT_UNATTENDED:+ /S}
15071+
15072+
# Get workarounds
15073+
w_call corefonts
15074+
# Required for client to open #1249
15075+
w_set_app_winver 'upc.exe' 'winvista'
15076+
w_set_app_winver 'UbisoftGameLauncher.exe' 'winvista'
1507115077
}
1507215078

1507315079
#----------------------------------------------------------------

0 commit comments

Comments
 (0)