mirror of https://github.com/axmolengine/axmol.git
fix a bug when building AssetsManagerTest
This commit is contained in:
parent
915d75ea7c
commit
81c16d9a0e
|
@ -127,7 +127,7 @@ def copy_resources(target, app_android_root):
|
|||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
# jsb samples should copy javascript files and resources(shared with cocos2d-html5)
|
||||
if target in JSB_SAMPLES or target == "assetsmanager":
|
||||
if target in JSB_SAMPLES:
|
||||
resources_dir = os.path.join(app_android_root, "../../../../cocos/scripting/javascript/script")
|
||||
copy_files(resources_dir, assets_dir)
|
||||
|
||||
|
|
Loading…
Reference in New Issue