diff options
Diffstat (limited to 'coin/provisioning/common/windows/squishInstall.ps1')
-rw-r--r-- | coin/provisioning/common/windows/squishInstall.ps1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coin/provisioning/common/windows/squishInstall.ps1 b/coin/provisioning/common/windows/squishInstall.ps1 index 8f04e702..aaebb25c 100644 --- a/coin/provisioning/common/windows/squishInstall.ps1 +++ b/coin/provisioning/common/windows/squishInstall.ps1 @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2020 The Qt Company Ltd. +## Copyright (C) 2021 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the provisioning scripts of the Qt Toolkit. @@ -57,7 +57,8 @@ if (Is64BitWinHost) { $OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName -if ($OSVersion -eq "Windows 10 Enterprise") { +if (($OSVersion -eq "Windows 10 Enterprise") -or ($OSVersion -eq "Windows 10 Pro")) { + # In Windows 11 case $OSVersion is 'Windows 10 Pro' $winVersion = "win10" if (Is64BitWinHost) { $sha1 = "0ce4f94ebff488fedef29e9ed62b400a8b5014fb" |