2023-07-20 19:32:15 +02:00
|
|
|
@echo off
|
|
|
|
pushd %~dp0
|
|
|
|
git --version > nul 2>&1
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
echo Git is not installed on this system. Skipping update.
|
|
|
|
echo If you installed with a zip file, you will need to download the new zip and install it manually.
|
|
|
|
) else (
|
|
|
|
call git pull --rebase --autostash
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
REM incase there is still something wrong
|
|
|
|
echo There were errors while updating. Please download the latest version manually.
|
|
|
|
)
|
|
|
|
)
|
|
|
|
call npm install
|
2024-01-13 16:55:48 +01:00
|
|
|
node server.js %*
|
2023-07-20 19:32:15 +02:00
|
|
|
pause
|
|
|
|
popd
|