forked from TheRealJake12/Kade-Engine-Community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasysetup.bat
59 lines (54 loc) · 2.01 KB
/
easysetup.bat
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
@echo off
title KEC Setup - Start
echo Make sure Haxe 4.2.4 or 4.2.5 and HaxeFlixel is installed.
echo Press any key to install required libraries.
pause >nul
title KEC Setup - Installing libraries
echo Installing haxelib libraries...
haxelib install lime
haxelib install openfl
haxelib install flixel
haxelib install flixel-tools
haxelib install flixel-ui
haxelib install hscript
haxelib install flixel-addons
haxelib install hxcpp-debug-server
haxelib install polymod
haxelib run lime setup
haxelib run lime setup flixel
haxelib run flixel-tools setup
title KEC Setup - User action required
cls
haxelib run flixel-tools setup
cls
echo Make sure you have git installed. You can download it here: https://git-scm.com/downloads
echo Press any key to install the git libraries.
pause >nul
title KEC Setup - Installing libraries
haxelib git linc_luajit https://github.com/nebulazorua/linc_luajit.git
haxelib git hxvm-luajit https://github.com/nebulazorua/hxvm-luajit
haxelib git faxe https://github.com/uhrobots/faxe
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
haxelib git hxCodec https://github.com/TheRealJake12/hxCodec.git
cls
title KEC Setup - User action required
set /p menu="Would you like to install Visual Studio Community and components? (Necessary to compile/ 5.5GB) [Y/N]"
if %menu%==Y goto InstallVSCommunity
if %menu%==y goto InstallVSCommunity
if %menu%==N goto SkipVSCommunity
if %menu%==n goto SkipVSCommunity
cls
:SkipVSCommunity
cls
title KEC Setup - Success
echo Setup successful. Press any key to exit.
pause >nul
exit
cls
gotoInstallVSCommunity
:InstallVSCommunity
title KEC 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 SkipVSCommunity