Run Cocos Creator 2.4 Game in a headless mode

we had a tutorial on something about asyncrhonized approval.