mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
args should always be checked
This commit is contained in:
@@ -418,7 +418,7 @@ bool App::Relaunch(mate::Arguments* js_args) {
|
||||
|
||||
mate::Dictionary options;
|
||||
if (js_args->GetNext(&options)) {
|
||||
if (options.Get("execPath", &exec_path) || options.Get("args", &args))
|
||||
if (options.Get("execPath", &exec_path) | options.Get("args", &args))
|
||||
override_argv = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user