File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- ::
1
+ @ echo off
2
+
2
3
:: Script for installing HaxeFlixel and it's dependencies.
3
4
:: Path refresh adapted from: https://github.com/chocolatey/chocolatey/blob/master/src/redirects/RefreshEnv.cmd
4
- ::
5
- @ echo off
6
5
7
- echo Refreshing PATH from registry...
8
- goto :refresh_path
6
+ :: Skip PATH refresh on Wine/CrossOver
7
+ if " %WINEPREFIX% " == " " ( goto :refresh_path) else (goto : check_haxelib)
9
8
10
9
:setfromreg
11
10
@@ -27,6 +26,7 @@ goto :EOF
27
26
28
27
:refresh_path
29
28
29
+ echo Refreshing PATH from registry...
30
30
echo/@ echo off > " %TEMP% \_env.cmd"
31
31
32
32
:: Slowly generating final file
Original file line number Diff line number Diff line change 1
- ::
1
+ @ echo off
2
+
2
3
:: Script for installing OpenFL and it's dependencies.
3
4
:: Path refresh adapted from: https://github.com/chocolatey/chocolatey/blob/master/src/redirects/RefreshEnv.cmd
4
- ::
5
- @ echo off
6
5
7
- echo Refreshing PATH from registry...
8
- goto :refresh_path
6
+ :: Skip PATH refresh on Wine/CrossOver
7
+ if " %WINEPREFIX% " == " " ( goto :refresh_path) else (goto : check_haxelib)
9
8
10
9
:setfromreg
11
10
@@ -27,6 +26,7 @@ goto :EOF
27
26
28
27
:refresh_path
29
28
29
+ echo Refreshing PATH from registry...
30
30
echo/@ echo off > " %TEMP% \_env.cmd"
31
31
32
32
:: Slowly generating final file
You can’t perform that action at this time.
0 commit comments