You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
442 B

@echo off
cd ..
set /p email=Git Email:
set /p usr=Git Username:
git config user.email %email%
git config user.usr %usr%
cls&echo Please wait...
git push
pm2 start update.js --name fdc
pm2 save
COPY /Y script\fdc_startup.bat tmp.bat
setlocal enabledelayedexpansion
set fn=tmp.bat
(for /f "tokens=*" %%i in (%fn%) do (
set s=%%i
set s=!s:$$$$=%cd%!
echo !s!))>temp1126.txt
move /y temp1126.txt "%fn%"
npm i -g npm
echo Setup finished!!!
pause