Only append arguments for browser process.
This commit is contained in:
parent
3576c6d2ff
commit
18f8af7822
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
std::string process_type = command_line->GetSwitchValueASCII(
|
||||
switches::kProcessType);
|
||||
|
||||
// Don't append arguments for renderer process.
|
||||
if (process_type == switches::kRendererProcess)
|
||||
// Only append arguments for browser process.
|
||||
if (!process_type.empty())
|
||||
return;
|
||||
|
||||
// Add a flag to mark the start of switches added by atom-shell.
|
||||
|
|
Loading…
Reference in a new issue