nsis: Bump minimum Windows requirement to 8.1

This commit is contained in:
lightningterror 2020-09-24 04:16:50 +02:00
parent a0829e9a24
commit 441602aee0
1 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@ Name "${APP_NAME}"
Function IsUserAdmin
!include WinVer.nsh
# No user should ever have to experience this pain ;)
${IfNot} ${AtLeastWinVista}
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2 1.4.0."
${IfNot} ${AtLeastWin8.1}
MessageBox MB_OK "Your operating system is unsupported by PCSX2. Please upgrade your operating system or install PCSX2."
Quit
${EndIf}
@ -53,7 +53,7 @@ Pop $UserPrivileges
# current thread/process. If the user tokens were elevated or limited for
# this process, GetOriginalAccountType will return the non-restricted
# account type.
# On Vista with UAC, for example, this is not the same value when running
# On Windows with UAC, for example, this is not the same value when running
# with `RequestExecutionLevel user`. GetOriginalAccountType will return
# "admin" while GetAccountType will return "user".
;UserInfo::GetOriginalAccountType