@echo off set MainVer=3.0 set BundleVer=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\%MainVer% 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 @REM rmdir /s /q %END% @REM del /f "%END%" @REM mkdir %END% mkdir %END% chcp 950 >NUL GOTO ALL :ALL echo 同步build檔案 robocopy %START1% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL GOTO ALL2 :ALL2 echo 同步manifest檔案 robocopy %START2% %END% /E /Z /FFT /COPY:D /NJH /NJS /NDL GOTO END :END echo Done! PAUSE