Skip to content

Commit 32511e9

Browse files
disable cocos gui and --list-templates
to be added when the cocos-console-gui is finally approved Github issue #15890
1 parent 04ade20 commit 32511e9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bin/cocos2d.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ plugin_generate.SimulatorCompiler
2828
plugin_generate.TemplateGenerator
2929
plugin_package.CCPluginPackage
3030
plugin_framework.CCPluginFramework
31-
plugin_gui.CCPluginGUI
31+
#plugin_gui.CCPluginGUI
3232
#plugin_version.CCPluginVersion
3333
#plugin_install.CCPluginInstall
3434
#plugin_update.CCPluginUpdate

plugins/plugin_new/project_new.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ def parse_args(self, argv):
129129
group.add_argument("-l", "--language",
130130
choices=["cpp", "lua", "js"],
131131
help=MultiLanguage.get_string('NEW_ARG_LANG'))
132-
group.add_argument("--list-templates", action="store_true",
133-
help='List available templates. To be used with --template option.')
134-
group.add_argument("-k", "--template-name",
135-
help='Name of the template to be used to create the game. To list available names, use --list-templates.')
132+
# group.add_argument("--list-templates", action="store_true",
133+
# help='List available templates. To be used with --template option.')
134+
# group.add_argument("-k", "--template-name",
135+
# help='Name of the template to be used to create the game. To list available names, use --list-templates.')
136136

137137
# parse the params
138138
args = parser.parse_args(argv)

0 commit comments

Comments
 (0)