axmol/templates/lua-template-default/src/main.lua

12 lines
195 B
Lua

require "config"
require "cocos.init"
local function main()
require("app.MyApp"):create():run()
end
local status, msg = xpcall(main, __G__TRACKBACK__)
if not status then
print(msg)
end