-
Notifications
You must be signed in to change notification settings - Fork 70
/
install.bat
28 lines (28 loc) · 968 Bytes
/
install.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
@echo off
git --version
if not "%errorlevel%" == "0" (
echo git is currently not installed, or has not been added to your system PATH
echo please install git, or if git is already installed, run:
echo setx PATH "%PATH%,C:\Program Files\Git\mingw64\libexec\git-core"
echo If using 32-bit or alternate install path, replace your git path in the above command
pause
) else (
echo attempting to clone PogoPlayer
git submodule init 2>&1 >NUL
git submodule update 2>&1 >NUL
if not "%errorlevel%" == "0" (
echo submodule install failed.
echo Maybe try cloning recursively?
echo git clone --recursive https://github.com/sebastienvercammen/ptc-acc-gen.git
) else (
node --version >NUL
if "%errorlevel%" == "9009" (
echo NodeJS is not currently installed correctly. Please install that, then run "npm install" from your PokemonGo-Map folder.
) else (
echo NodeJS installed, proceeding with installation
npm install
)
)
)
python config.py
pause