-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.bat
81 lines (76 loc) · 2.04 KB
/
setup.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
@echo off
title FNF Setup
echo Asegurate tener Haxe 4.1.5 y HaxeFlixel instalado!
echo Presiona cualquier tecla para continuar!
pause >nul
title FNF Setup - Instalando librerias
echo Instalando librerias haxelib...
haxelib install lime
haxelib install openfl
haxelib install flixel
haxelib install flixel-addons
haxelib install flixel-ui
haxelib install hscript
haxelib install newgrounds
haxelib run lime setup
haxelib install flixel-tools
title FNF Setup
cls
haxelib run flixel-tools setup
cls
echo Asegurate tener git instalado. Puedes descargarlo en https://git-scm.com/downloads
echo Presiona cualquier tecla para instalar PolyMod.
pause >nul
title FNF Setup - Instalando librerias
haxelib git polymod https://github.com/larsiusprime/polymod.git
cls
echo Presiona cualquier tecla para instalar Discord_RPC
pause >nul
title FNF Setup - Instalando librerias
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
cls
goto UserActions1
:UserActions1
title FNF Setup
set /p menu="Quieres arreglar bugs de transiciones? [Y/N]"
if %menu%==Y goto FixTransitionBug
if %menu%==y goto FixTransitionBug
if %menu%==N goto UserActions2
if %menu%==n goto UserActions2
cls
:UserActions2
cls
title FNF Setup
set /p menu2="Quieres que yo cree el archivo APIStuff.hx de forma automatica? [Y/N]"
if %menu2%==Y goto APIStuffYes
if %menu2%==y goto APIStuffYes
if %menu2%==N goto APIStuffNo
if %menu2%==n goto APIStuffNo
cls
:APIStuffYes
rem Stores the APIStuff.hx contents automatically
cd source
(
echo package;
echo class APIStuff
echo {
echo public static var API:String = "";
echo public static var EncKey:String = "";
echo }
)>APIStuff.hx
cd ..
cls
title FNF Setup
echo Setup completo. Presione cualquier tecla para salir.
pause >nul
exit
:APIStuffNo
cls
title FNF Setup
echo Setup completo. Presione cualquier tecla para salir.
pause >nul
exit
:FixTransitionBug
title FNF Setup - Instalando librerias
haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons
goto UserActions2