为避免多php版本带来困扰,cmd批处理内php采用环境变量调用。

This commit is contained in:
iyuu.cn 2020-03-25 12:29:54 +08:00
parent f89b5f7325
commit 01a9b71e9f
4 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
@echo off
chcp 65001
%cd%\php\php %cd%\iyuu.php
php %cd%\iyuu.php
pause

View File

@ -3,5 +3,5 @@ chcp 65001
git fetch --all
git reset --hard origin/master
git pull
%cd%\php\php.exe %cd%\iyuu.php
php %cd%\iyuu.php
pause

View File

@ -1,4 +1,4 @@
@echo off
chcp 65001
D:\IYUUAutoReseed\php\php.exe D:\IYUUAutoReseed\iyuu.php
php D:\IYUUAutoReseed\iyuu.php
exit

View File

@ -1,5 +0,0 @@
@echo off
chcp 65001
git fetch --all
git reset --hard origin/master
git pull