We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f2be44 + b035dee commit ca0faf8Copy full SHA for ca0faf8
1 file changed
windows-installer/idt-win-installer.ps1
@@ -2,6 +2,13 @@
2
# Installs IBM Developer Bluemix CLI plugin and all dependencies.
3
# VERSION="0.8"
4
5
+# Check for Windows 10
6
+if ([System.Environment]::OSVersion.Version.Major -ne 10)
7
+{
8
+ echo "This installer requires Windows 10."
9
+ exit
10
+}
11
+
12
# Check for 64-bit Platform - Dev and Helm do not have 32-bit versions.
13
if ([Environment]::Is64BitProcess -ne [Environment]::Is64BitOperatingSystem)
14
{
@@ -119,4 +126,4 @@ if( $EXT_PLUGINS.contains("sdk-gen")) {
119
126
$restart = Read-Host "A system restart is required. Would you like to restart now (y/n)? (default is n)"
120
127
if($restart -eq "y" -Or $restart -eq "yes") {
121
128
Restart-Computer
122
-}
129
0 commit comments