Skip to content

Commit

Permalink
fix: command string for windows protocol handler
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Feb 17, 2022
1 parent e08ced5 commit f6f3686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/browser_win.cc
Expand Up @@ -67,7 +67,7 @@ bool GetProtocolLaunchPath(gin::Arguments* args, std::wstring* exe) {
std::vector<std::wstring> launch_args;
if (args->GetNext(&launch_args) && !launch_args.empty())
*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
*exe = base::StringPrintf(L"\"%ls\" \"%%1\"", exe->c_str());
return true;
Expand Down

0 comments on commit f6f3686

Please sign in to comment.