File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,24 @@ haxelib run openfl setup
84
84
:: Check for errors
85
85
if %errorlevel% neq 0 goto :install_error
86
86
87
+ goto :options_vs
88
+
89
+ :options_vs
90
+
91
+ set /p option = " Also install free Visual Studio for C++ Windows applications? [y/n] "
92
+ if " %option% " == " y" goto :install_vs
93
+ if " %option% " == " n" goto :check_flixel
94
+ echo Invalid value, try again.
95
+
96
+ goto :options_vs
97
+
98
+ :install_vs
99
+
100
+ lime setup windows
101
+
102
+ :: Check for errors
103
+ if %errorlevel% neq 0 goto :install_error
104
+
87
105
goto :check_flixel
88
106
89
107
:check_flixel
@@ -117,7 +135,7 @@ exit -1
117
135
118
136
:install_error
119
137
120
- echo Could not install required Haxelib libraries: openfl or flixel .
138
+ echo Could not install the requested tools .
121
139
pause
122
140
exit -1
123
141
Original file line number Diff line number Diff line change @@ -84,6 +84,24 @@ haxelib run openfl setup
84
84
:: Check for errors
85
85
if %errorlevel% neq 0 goto :install_error
86
86
87
+ goto :options_vs
88
+
89
+ :options_vs
90
+
91
+ set /p option = " Also install free Visual Studio for C++ Windows applications? [y/n] "
92
+ if " %option% " == " y" goto :install_vs
93
+ if " %option% " == " n" goto :done
94
+ echo Invalid value, try again.
95
+
96
+ goto :options_vs
97
+
98
+ :install_vs
99
+
100
+ lime setup windows
101
+
102
+ :: Check for errors
103
+ if %errorlevel% neq 0 goto :install_error
104
+
87
105
goto :done
88
106
89
107
:haxelib_error
@@ -94,7 +112,7 @@ exit -1
94
112
95
113
:install_error
96
114
97
- echo Could not install required Haxelib library: openfl .
115
+ echo Could not install the requested tools .
98
116
pause
99
117
exit -1
100
118
You can’t perform that action at this time.
0 commit comments