Skip to content

Commit

Permalink
fix: command string for windows protocol handler (electron#32953)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 authored and bavulapati committed Apr 29, 2022
1 parent 0218f26 commit 084d6d6
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 084d6d6

Please sign in to comment.