1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 06:43:22 +02:00

Fixed minimal Windows version check for Qt6 builds

This commit is contained in:
Martin Tůma 2024-01-21 16:04:59 +01:00
parent bc4bffdfe7
commit c9f44506e7

View File

@ -95,10 +95,17 @@ Var StartMenuFolder
!insertmacro MUI_LANGUAGE "English"
Function .onInit
!ifdef QT6
${IfNot} ${AtLeastWin10}
MessageBox MB_OK "GPXSee can only be installed on Windows 10 or later."
Abort
${EndIf}
!else
${IfNot} ${AtLeastWin7}
MessageBox MB_OK "GPXSee can only be installed on Windows 7 or later."
Abort
${EndIf}
!endif
${If} ${RunningX64}
SetRegView 64