### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a bug report that matches the one I want to file, without success.

### Electron Version

16.0.7

### What operating system are you using?

Windows

### Operating System Version

Windows 10 Build 19043

### What arch are you using?

x64

### Last Known Working Electron version

13.1.2

### Expected Behavior

`app.setAsDefaultProtocolClient(protocol, process.execPath, [path.resolve(process.argv[1]), '--arg']);`
to work as expected.

### Actual Behavior

electron will put quotes around the entire list of arguments instead of each individually (if necessary), so the generated command is something like

"C:\example\node_modules\electron\dist\electron.exe" "c:\example --arg" "%1"

which then leads to an error "Unable to find Electron app at c:\example --args".

### Testcase Gist URL

!!! Please note that by the nature of setAsDefaultProtocolClient this testcase will make a systemwide setting!

https://gist.github.com/a1f2fdbe04624b6f7a6877a89581143c

### Additional Information

This was almost certainly introduced by the "fix" for https://github.com/electron/electron/issues/32141
shell/browser/browser_win.cc
base::win::RegistryValueIterator* it,
    boolean* executable_will_launch_at_login,
    std::wstring scope,
    const Browser::LoginItemSettings& options) {
  std::vector<Browser::LaunchItem> launch_items;
  base::FilePath lookup_exe_path;
  if (options.path.empty()) {
    std::wstring process_exe_path;
    GetProcessExecPath(&process_exe_path);
    lookup_exe_path =
        base::CommandLine::FromString(process_exe_path).GetProgram();
  } else {
    lookup_exe_path =
        base::CommandLine::FromString(base::as_wcstr(options.path))
            .GetProgram();
  }
  if (!lookup_exe_path.empty()) {
    while (it->Valid()) {
      base::CommandLine registry_launch_cmd =
          base::CommandLine::FromString(it->Value());
      base::FilePath registry_launch_path = registry_launch_cmd.GetProgram();
      bool exe_match = base::FilePath::CompareEqualIgnoreCase(
          lookup_exe_path.value(), registry_launch_path.value());