modify some files when install to cocos