您的位置:首页 > 移动开发 > Cocos引擎

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

2017-09-07 09:58 507 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: