2014-10-11 02:55:04 +08:00
|
|
|
|
2014-12-29 05:51:49 +08:00
|
|
|
cc.FileUtils:getInstance():setPopupNotify(false)
|
2014-10-11 02:55:04 +08:00
|
|
|
|
2014-12-29 05:51:49 +08:00
|
|
|
require "config"
|
2014-10-11 02:55:04 +08:00
|
|
|
require "cocos.init"
|
2014-03-26 19:42:07 +08:00
|
|
|
|
2014-03-10 19:33:57 +08:00
|
|
|
local function main()
|
2014-12-29 05:51:49 +08:00
|
|
|
require("app.MyApp"):create():run()
|
2014-03-10 19:33:57 +08:00
|
|
|
end
|
|
|
|
|
2014-04-25 19:42:31 +08:00
|
|
|
local status, msg = xpcall(main, __G__TRACKBACK__)
|
|
|
|
if not status then
|
2014-12-29 05:51:49 +08:00
|
|
|
print(msg)
|
2014-04-25 19:42:31 +08:00
|
|
|
end
|