使用3.14.1创建lua项目,编译出simulator,运行simulator读取的是simulator下面的src和res。如何修改成读取项目下的src和res?在线求大神赐教
export ROOT=$(cd `dirname $0`; pwd)
#open /Applications/Cocos/Library/Simulator.app --args -workdir $ROOT -entry src/main.lua
open ./runtime/mac/T2-desktop.app --args -workdir $ROOT -entry src/main.lua
写个shell放到你的TestLua文件夹下面
T2-desktop.app 这个是编译出来的模拟器,把这个模拟器路径替换成你的TestLua-desktop.app对应的路径,配置上参数即可
谢谢,我测试下。
