[build] Fix the D/L URL in the installer.

meow-7.2.2
Beq 2024-10-24 07:30:23 +01:00
parent ab01f518e5
commit 6bf12d2ed4
1 changed files with 1 additions and 4 deletions

View File

@ -238,11 +238,8 @@ Function CheckCPUFlagsAVX2
System::Call 'kernel32::IsProcessorFeaturePresent(i 40) i .r1' ; 40 is PF_AVX2_INSTRUCTIONS_AVAILABLE
IntCmp $1 1 OK_AVX2
; AVX2 not supported
; Prepare the URL by concatenating '-legacy-cpus' to $DL_URL
StrCpy $2 "${DL_URL}"
StrCpy $2 "-legacy-cpus" /APPEND
; Replace %DLURL% in the language string with the URL
${WordReplace} "$(MissingAVX2)" "%DLURL%" "$2" "+*" $3
${WordReplace} "$(MissingAVX2)" "%DLURL%" "${DL_URL}-legacy-cpus" "+*" $3
MessageBox MB_OK "$3"
${OpenURL} '$2'
Quit