diff --git a/templates/js-template-default/cocos-project-template.json b/templates/js-template-default/cocos-project-template.json index a70ca555e5..0272903ee9 100644 --- a/templates/js-template-default/cocos-project-template.json +++ b/templates/js-template-default/cocos-project-template.json @@ -2,16 +2,6 @@ "do_default":{ "exclude_from_template":[ "frameworks/runtime-src" - ], - "append_h5_engine":{ - "from":"web", - "to":"frameworks/cocos2d-html5" - }, - "append_file":[ - { - "from":"web/jsb_apis.js", - "to":"frameworks/cocos2d-html5/jsb_apis.js" - } ] }, "do_add_native_support":{ diff --git a/templates/js-template-default/project.json b/templates/js-template-default/project.json index e54f870660..6a7f37a61e 100644 --- a/templates/js-template-default/project.json +++ b/templates/js-template-default/project.json @@ -6,7 +6,7 @@ "frameRate" : 60, "id" : "gameCanvas", "renderMode" : 0, - "engineDir":"frameworks/cocos2d-html5", + "engineDir":"frameworks/cocos2d-x/web", "modules" : ["cocos2d"],