cocos 拷贝Lua资源到android 工程assets目录

来源:互联网 发布:海湾crt软件下载 编辑:程序博客网 时间:2024/05/22 03:23
rem copy res src config.json
@echo off
set DIR=%~dp0
set APP_ASSETS_ROOT=%DIR%frameworks\runtime-src\proj.android\assets\
echo   APP_ASSETS_ROOT       = %APP_ASSETS_ROOT%


if exist %APP_ASSETS_ROOT% rmdir /s /q %APP_ASSETS_ROOT%
mkdir %APP_ASSETS_ROOT%


xcopy /s /q "%DIR%res\*.*" %APP_ASSETS_ROOT%res\*.* /y  
xcopy /s /q "%DIR%src\*.*" %APP_ASSETS_ROOT%src\*.*  /y
copy "%DIR%config.json" %APP_ASSETS_ROOT%config.json
阅读全文
0 0