|
@@ -50,14 +50,14 @@ namespace Atomic
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- // Add quotes to any arguments that need them, and construct command line
|
|
|
|
|
|
|
+ // Add quotes to any arguments that need them, and construct command line
|
|
|
|
|
|
|
|
- Vector<String> args = arguments_;
|
|
|
|
|
- for (unsigned i = 0; i < args.Size(); i++)
|
|
|
|
|
- {
|
|
|
|
|
- if (arguments_[i].Contains(" "))
|
|
|
|
|
- args[i] = ToString("\"%s\"", arguments_[i].CString());
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ Vector<String> args = arguments_;
|
|
|
|
|
+ for (unsigned i = 0; i < args.Size(); i++)
|
|
|
|
|
+ {
|
|
|
|
|
+ if (arguments_[i].Contains(" "))
|
|
|
|
|
+ args[i] = ToString("\"%s\"", arguments_[i].CString());
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
String commandline = String::Joined(args, " ");
|
|
String commandline = String::Joined(args, " ");
|
|
|
|
|
|
|
@@ -118,7 +118,7 @@ namespace Atomic
|
|
|
void AppBase::Start()
|
|
void AppBase::Start()
|
|
|
{
|
|
{
|
|
|
Application::Start();
|
|
Application::Start();
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
vm_->InitJSContext();
|
|
vm_->InitJSContext();
|
|
|
|
|
|
|
|
}
|
|
}
|
|
@@ -213,4 +213,3 @@ namespace Atomic
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|