implemetation of AtomCommandline to preserve args

This commit is contained in:
deepak1556 2015-03-17 18:25:53 +05:30 committed by Robo
parent 8aae7c4440
commit 399f47ef0f
12 changed files with 104 additions and 59 deletions

View file

@ -4,6 +4,7 @@
#include "atom/app/atom_library_main.h"
#include "atom/app/atom_main_args.h"
#include "atom/app/atom_main_delegate.h"
#include "atom/app/node_main.h"
#include "base/at_exit.h"
@ -18,6 +19,7 @@ int AtomMain(int argc, const char* argv[]) {
content::ContentMainParams params(&delegate);
params.argc = argc;
params.argv = argv;
atom::AtomCommandLine::Init(argc, argv);
return content::ContentMain(params);
}