sudo gedit /etc/profile.d/cocos2d-x.sh
export COCOS_CONSOLE_ROOT=/home/bingo/install/cocos2d-x-3.0rc1/tools/cocos2d-console
export PATH=$COCOS_CONSOLE_ROOT/bin:$PATH本文共 239 字,大约阅读时间需要 1 分钟。
sudo gedit /etc/profile.d/cocos2d-x.sh
export COCOS_CONSOLE_ROOT=/home/bingo/install/cocos2d-x-3.0rc1/tools/cocos2d-console
export PATH=$COCOS_CONSOLE_ROOT/bin:$PATH转载于:https://www.cnblogs.com/bingoogol/p/ubuntu-environment-cocos2d-x.html