Repository navigation
Expand file tree
/
Copy pathsetup.bat
More file actions
76 lines (61 loc) · 2.1 KB
/
Copy pathsetup.bat
File metadata and controls
76 lines (61 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
@echo off
title Moon Engine Setup - WARNING!
color 0E
echo *********************
echo *** [! WARNING !] ***
echo *********************
echo.
echo Before continuing, make sure you have the latest Haxe version and Git installed!
echo In case you aren't sure, you can always download both from Moon Engine's Github!
echo When ready, press any key to proceed.
pause >nul
title Moon Engine Setup - Installing libraries
cls
color 09
echo ***************************************
echo *** Installing Main Dependencies... ***
echo ***************************************
echo.
haxelib --global git haxelib https://github.com/FunkinCrew/haxelib funkin-patches
haxelib --global git hmm https://github.com/FunkinCrew/hmm funkin-patches
haxelib run hmm install
cls
title Moon Engine Setup - Doing a set-up
echo ****************************************
echo *** You will now set-up your Flixel. ***
echo ****************************************
haxelib run lime setup
cls
goto InstallVSCReq
:InstallVSCReq
cls
title Moon Engine Setup - WARNING!
color 0E
echo *********************
echo *** [! WARNING !] ***
echo *********************
echo.
echo Would you like to install Visual Studio Community and components?
set /p menu="(NECESSARY TO COMPILE! / 5.5GB) [Y/N] > "
if %menu%==Y goto InstallVSC
if %menu%==y goto InstallVSC
if %menu%==N goto CompleteInstallation
if %menu%==n goto CompleteInstallation
cls
:InstallVSC
color 09
title Moon Engine Setup - Installing Visual Studio Community
curl -# -O https://download.visualstudio.microsoft.com/download/pr/3105fcfe-e771-41d6-9a1c-fc971e7d03a7/8eb13958dc429a6e6f7e0d6704d43a55f18d02a253608351b6bf6723ffdaf24e/vs_Community.exe
vs_Community.exe --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 -p
del vs_Community.exe
goto CompleteInstallation
:CompleteInstallation
cls
title Moon Engine Setup - Success
color 0A
echo ***************************************************
echo *** You may now exit. (Press any Key or close.) ***
echo ***************************************************
echo.
pause >nul
exit