FIRE-34796 - trial the ability to users to override AVX2 detection
this is the first attempt to allow a user override. we'll see whether it causes more confusion than not.master
parent
d36c7ea161
commit
53b15d2c61
|
|
@ -242,6 +242,17 @@ Function CheckCPUFlagsAVX2
|
||||||
${WordReplace} "$(MissingAVX2)" "%DLURL%" "${DL_URL}-legacy-cpus" "+*" $3
|
${WordReplace} "$(MissingAVX2)" "%DLURL%" "${DL_URL}-legacy-cpus" "+*" $3
|
||||||
MessageBox MB_OK "$3"
|
MessageBox MB_OK "$3"
|
||||||
${OpenURL} "${DL_URL}-legacy-cpus"
|
${OpenURL} "${DL_URL}-legacy-cpus"
|
||||||
|
|
||||||
|
MessageBox MB_YESNO "If you believe that your PC can support AVX2 optimization, you may install anyway. Do you want to proceed?" IDNO NoInstall
|
||||||
|
MessageBox MB_OKCANCEL "By overriding the installer, you are about to install a version that might crash immediately after launching. If this happens, please immediately install the standard CPU version." IDCANCEL NoInstall
|
||||||
|
|
||||||
|
; User chose to proceed
|
||||||
|
Pop $3
|
||||||
|
Pop $2
|
||||||
|
Pop $1
|
||||||
|
Return
|
||||||
|
|
||||||
|
NoInstall:
|
||||||
Quit
|
Quit
|
||||||
|
|
||||||
OK_AVX2:
|
OK_AVX2:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue