Skip to content

Commit

Permalink
fix: electron#32141 register wrong command for setAsDefaultProtocolCl…
Browse files Browse the repository at this point in the history
…ient for windows (electron#32220)
  • Loading branch information
Shubham-Kumar-2000 authored and t57ser committed Jan 25, 2022
1 parent 5c20605 commit f74198a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/browser_win.cc
Expand Up @@ -66,7 +66,7 @@ bool GetProtocolLaunchPath(gin::Arguments* args, std::wstring* exe) {
// Read in optional args arg
std::vector<std::wstring> launch_args;
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());
else
*exe = base::StringPrintf(L"\"%ls\" \"%%1\"", exe->c_str());
Expand Down

0 comments on commit f74198a

Please sign in to comment.