JM_KA/hotupdate.bat
2022-09-04 12:01:59 +08:00

31 lines
671 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
set Ver=3.0.1
set START1=%~dp0\build\jsb-default\remote-assets
set START2=%~dp0\remote-assets
set END=W:\web\MyWeb\Resources\App\JMKA\update\remote-assets\%Ver%
node version_generator.js -v %Ver% -u https://jianmiau.tk/Resources/App/JMKA/update/remote-assets/%Ver%/ -s build/jsb-default/remote-assets -d remote-assets
@REM rmdir /s /q %END%
@REM del /f "%END%"
@REM mkdir %END%
mkdir %END%
chcp 950 >NUL
GOTO ALL
:ALL
echo ¦P¨BbuildÀÉ®×
robocopy %START1% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL
GOTO ALL2
:ALL2
echo ¦P¨BmanifestÀÉ®×
robocopy %START2% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL
GOTO END
:END
echo Done!
PAUSE