首页 > 代码库 > cocos2d-x-2.2.6 project-creator文件夹下python.bat

cocos2d-x-2.2.6 project-creator文件夹下python.bat

 1 @echo off   2 set /p projectName=请输入项目名称:   3 if "%projectName%"=="" goto inputError   4 set /p packageName=请输入包标示名:   5 if "%packageName%"=="" goto inputError   6 create_project.py -project %projectName% -package %packageName% -language cpp   7 pause   8 exit   9 :inputError  10 @echo 项目名称或者包标示名不能为空!  11 pause

 

 pause 若出现乱码。只需改成ANSI格式即可。

cocos2d-x-2.2.6 project-creator文件夹下python.bat