Skip to content

Commit b06bd29

Browse files
author
lunhao.guo
committed
disable Cocos IDE Debug Support
1 parent 5e4c63e commit b06bd29

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

plugins/plugin_generate/configs/gen_templates_config.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -276,14 +276,14 @@
276276
"replace_string": "\"modules\" : [\\1, \"cocostudio\"]"
277277
},
278278
{
279-
"file_path": "js-template-binary/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp",
280-
"pattern": "#include \"js_module_register\\.h\"",
281-
"replace_string": "#include \"js_module_register.h\"\n#include \"jsb_cocos2dx_auto.hpp\""
279+
"file_path": "js-template-binary/frameworks/runtime-src/Classes/ide-support/CodeIDESupport.h",
280+
"pattern": "#define CC_CODE_IDE_DEBUG_SUPPORT 1",
281+
"replace_string": "#define CC_CODE_IDE_DEBUG_SUPPORT 0"
282282
},
283283
{
284-
"file_path": "js-template-binary/frameworks/runtime-src/Classes/ide-support/RuntimeJsImpl.cpp",
285-
"pattern": "get_jsb_cocos2d_FileUtils_prototype\\(\\)",
286-
"replace_string": "jsb_cocos2d_FileUtils_prototype"
284+
"file_path": "lua-template-binary/frameworks/runtime-src/Classes/ide-support/CodeIDESupport.h",
285+
"pattern": "#define CC_CODE_IDE_DEBUG_SUPPORT 1",
286+
"replace_string": "#define CC_CODE_IDE_DEBUG_SUPPORT 0"
287287
},
288288
{
289289
"file_path": "cpp-template-binary/proj.win32/cocos2dx.props",

0 commit comments

Comments
 (0)