Skip to content

Commit

Permalink
fix: #32141 register wrong command for setAsDefaultProtocolClient for…
Browse files Browse the repository at this point in the history
… windows (#32329)

Co-authored-by: Shubham-Kumar-2000 <shukhu10@gmail.com>
  • Loading branch information
trop[bot] and Shubham-Kumar-2000 committed Jan 4, 2022
1 parent 9ef50c0 commit e4f64af
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 e4f64af

Please sign in to comment.