Merge pull request #20 from chuanweizhang2013/v3luaruntime

fixed mac relaunch bug
This commit is contained in:
cocoscodeide 2014-05-17 19:40:45 +08:00
commit 231cf5f99a
2 changed files with 5 additions and 2 deletions

View File

@ -76,6 +76,9 @@ std::string getCurAppPath(void)
if (args!=nullptr && [args count]>=2) {
extern std::string g_resourcePath;
g_resourcePath = [[args objectAtIndex:1]UTF8String];
if (g_resourcePath.at(0) != '/') {
g_resourcePath="";
}
}
g_nsAppDelegate =self;
AppDelegate app;

View File

@ -1,6 +1,6 @@
{
"version":"v3-lua-runtime-1.1",
"zip_file_size":"20844080",
"version":"v3-lua-runtime-1.1.1",
"zip_file_size":"20853321",
"repo_name":"cocos-runtime-bin",
"repo_parent":"https://github.com/chukong/"
}