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.
|
|
|
@echo
|
|
|
|
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
|
|
|
|
cd /d "%~dp0"
|
|
|
|
cd ..
|
|
|
|
set /p email=Git Email:
|
|
|
|
set /p usr=Git Username:
|
|
|
|
git config user.email %email%
|
|
|
|
git config user.usr %usr%
|
|
|
|
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%"
|
|
|
|
|
|
|
|
COPY /Y tmp.bat "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\"
|
|
|
|
npm i -g npm
|