[build] Fix the D/L URL in the installer.
parent
ab01f518e5
commit
6bf12d2ed4
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue