JM_KA/hotupdate.bat

32 lines
708 B
Batchfile
Raw Normal View History

2022-08-31 01:48:48 +00:00
@echo off
2022-09-04 05:13:06 +00:00
set MainVer=3.0
set BundleVer=3.0.1
2022-08-31 01:48:48 +00:00
set START1=%~dp0\build\jsb-default\remote-assets
set START2=%~dp0\remote-assets
2022-09-04 05:13:06 +00:00
set END=W:\web\MyWeb\Resources\App\JMKA\update\remote-assets\%MainVer%
2022-08-31 01:48:48 +00:00
2022-09-04 05:13:06 +00:00
node version_generator.js -v %BundleVer% -u https://jianmiau.tk/Resources/App/JMKA/update/remote-assets/%MainVer%/ -s build/jsb-default/remote-assets -d remote-assets
2022-08-31 01:48:48 +00:00
@REM rmdir /s /q %END%
@REM del /f "%END%"
@REM mkdir %END%
2022-09-03 15:53:06 +00:00
mkdir %END%
2022-08-31 01:48:48 +00:00
chcp 950 >NUL
GOTO ALL
:ALL
echo <20>P<EFBFBD>Bbuild<6C>ɮ<EFBFBD>
robocopy %START1% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL
GOTO ALL2
:ALL2
echo <20>P<EFBFBD>Bmanifest<73>ɮ<EFBFBD>
robocopy %START2% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL
GOTO END
:END
echo Done!
PAUSE