mirror of
https://github.com/u0u0/Cocos2d-Lua-Community.git
synced 2026-05-07 06:07:25 +08:00
not parse NSDocumentRevisionsDebugMode
This commit is contained in:
@@ -101,6 +101,9 @@ int main(int argc, char *argv[])
|
||||
CommandSetup *cmd = CommandSetup::getInstance();
|
||||
cmd->setRelauncher(relaunchSelf);
|
||||
cmd->setEngineRootPath(getEngineRoot());
|
||||
if (argc > 2 && strcmp(argv[1], "-NSDocumentRevisionsDebugMode") == 0) {
|
||||
argc = 1; // not parse -NSDocumentRevisionsDebugMode YES
|
||||
}
|
||||
cmd->parseCommand(argc, argv);
|
||||
cmd->setupEngine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user