Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cocos2d-x version information into "cocos -v" #339

Open
linshun opened this issue May 2, 2016 · 1 comment
Open

Add cocos2d-x version information into "cocos -v" #339

linshun opened this issue May 2, 2016 · 1 comment

Comments

@linshun
Copy link
Member

linshun commented May 2, 2016

"cocos -v" should display cocos2d-x version and cocos console version information.

@natural-law

lyinch added a commit to lyinch/cocos2d-console that referenced this issue May 3, 2016
Added version Info for cocos2dx version by using a regex expression to
read the version form the cocos2d.cpp file. Only tested on OSX. Fixes
cocos2d#339
@natural-law
Copy link
Contributor

@lyinch
In fact, there is a method in utils for get the engine version. Take a look at the PR: #343

After all, thanks for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants