This commit is contained in:
parent
84f1d78558
commit
cbdb2e6ec2
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ bool GetProtocolLaunchPath(gin::Arguments* args, std::wstring* exe) {
|
||||||
// Read in optional args arg
|
// Read in optional args arg
|
||||||
std::vector<std::wstring> launch_args;
|
std::vector<std::wstring> launch_args;
|
||||||
if (args->GetNext(&launch_args) && !launch_args.empty())
|
if (args->GetNext(&launch_args) && !launch_args.empty())
|
||||||
*exe = base::StringPrintf(L"\"%ls\" %ls \"%%1\"", exe->c_str(),
|
*exe = base::StringPrintf(L"\"%ls\" \"%ls\" \"%%1\"", exe->c_str(),
|
||||||
base::JoinString(launch_args, L" ").c_str());
|
base::JoinString(launch_args, L" ").c_str());
|
||||||
else
|
else
|
||||||
*exe = base::StringPrintf(L"\"%ls\" \"%%1\"", exe->c_str());
|
*exe = base::StringPrintf(L"\"%ls\" \"%%1\"", exe->c_str());
|
||||||
|
|
Loading…
Reference in a new issue