File tree Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Original file line number Diff line number Diff line change 1
- :: Script for installing OpenFL and it's dependencies.
1
+ :: Script for installing Flixel and it's dependencies.
2
2
@ echo off
3
3
4
4
:check_haxelib
@@ -23,7 +23,7 @@ haxelib path openfl > nul
23
23
if %errorlevel% neq 0 goto :install_openfl
24
24
25
25
echo OK
26
- goto :done
26
+ goto :check_flixel
27
27
28
28
:install_openfl
29
29
@@ -35,6 +35,29 @@ haxelib run openfl setup
35
35
:: Check for errors
36
36
if %errorlevel% neq 0 goto :install_error
37
37
38
+ goto :check_flixel
39
+
40
+ :check_flixel
41
+
42
+ echo Checking Flixel...
43
+
44
+ haxelib path flixel > nul
45
+
46
+ :: Check for errors
47
+ if %errorlevel% neq 0 goto :install_flixel
48
+
49
+ echo OK
50
+ goto :done
51
+
52
+ :install_flixel
53
+
54
+ echo Installing Flixel...
55
+
56
+ haxelib install flixel
57
+
58
+ :: Check for errors
59
+ if %errorlevel% neq 0 goto :install_error
60
+
38
61
goto :done
39
62
40
63
:haxelib_error
@@ -45,12 +68,12 @@ exit -1
45
68
46
69
:install_error
47
70
48
- echo Could not install required Haxelib library : openfl.
71
+ echo Could not install required Haxelib libraries : openfl or flixel .
49
72
pause
50
73
exit -1
51
74
52
75
:done
53
76
54
- echo OpenFL + Flixel installed successfully.
77
+ echo OpenFL installed successfully.
55
78
pause
56
79
exit 0
Original file line number Diff line number Diff line change 1
- :: Script for installing Flixel and it's dependencies.
1
+ :: Script for installing OpenFL and it's dependencies.
2
2
@ echo off
3
3
4
4
:check_haxelib
@@ -23,7 +23,7 @@ haxelib path openfl > nul
23
23
if %errorlevel% neq 0 goto :install_openfl
24
24
25
25
echo OK
26
- goto :check_flixel
26
+ goto :done
27
27
28
28
:install_openfl
29
29
@@ -35,29 +35,6 @@ haxelib run openfl setup
35
35
:: Check for errors
36
36
if %errorlevel% neq 0 goto :install_error
37
37
38
- goto :check_flixel
39
-
40
- :check_flixel
41
-
42
- echo Checking Flixel...
43
-
44
- haxelib path flixel > nul
45
-
46
- :: Check for errors
47
- if %errorlevel% neq 0 goto :install_flixel
48
-
49
- echo OK
50
- goto :done
51
-
52
- :install_flixel
53
-
54
- echo Installing Flixel...
55
-
56
- haxelib install flixel
57
-
58
- :: Check for errors
59
- if %errorlevel% neq 0 goto :install_error
60
-
61
38
goto :done
62
39
63
40
:haxelib_error
@@ -68,12 +45,12 @@ exit -1
68
45
69
46
:install_error
70
47
71
- echo Could not install required Haxelib libraries : openfl or flixel .
48
+ echo Could not install required Haxelib library : openfl.
72
49
pause
73
50
exit -1
74
51
75
52
:done
76
53
77
- echo OpenFL installed successfully.
54
+ echo OpenFL + Flixel installed successfully.
78
55
pause
79
56
exit 0
You can’t perform that action at this time.
0 commit comments