Committed by cron-git from Yimian-PC

master
iotcat 4 years ago
parent de56057b65
commit b0fad89a91
  1. 6
      script/startup.bat

@ -1,11 +1,11 @@
@echo
%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit
cd /d "%~dp0"
copy /Y fdc_startup.bat "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"
pm2 start update.js --name fdc
cd ..
set /p email=Git Email:
set /p usr=Git Username:
git config user.email %email%
git config user.usr %usr%
git pull
git push
copy /Y script\fdc_startup.bat "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"
pm2 start update.js --name fdc

Loading…
Cancel
Save