forked from Alex-star225/GoAnimate-ReRainbowed-1
-
Notifications
You must be signed in to change notification settings - Fork 2
/
start.bat
32 lines (28 loc) · 732 Bytes
/
start.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
:: Important stuff
@echo off && cls
title GoAnimate Wrapper
if not exist "installed" (if not exist "notinstalled" (echo GoAnimate Wrapper Configuration File >> notinstalled))
::::::::::::::::::::
:: Initialization ::
::::::::::::::::::::
:: Terminate existing node.js apps
TASKKILL /IM node.exe /F 2>nul
cls
:::::::::::::::::::::::::::::
:: Start GoAnimate Wrapper ::
:::::::::::::::::::::::::::::
:: Check for installation
if exist notinstalled (
echo GoAnimate Wrapper is not installed! Installing...
call npm install
ren "notinstalled" "installed"
cls
goto start
) else (
goto start
)
:: Run npm start
:start
echo GoAnimate Wrapper is now starting...
echo Please navigate to http://localhost on your browser.
npm start