<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
* [x ] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x ] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x ] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
Following #20322 - for me as an Electron user, it's unacceptable that `second-instance` manipulates order of arguments, it's incompatible e.g. with [yargs](https://github.com/yargs/yargs) style (e.g. `myapp.exe -a 1 -b 2`). Current behaviour on Windows is confusing, not well documented.

### Proposed Solution
Although I have [described a workaround](https://github.com/electron/electron/issues/20322#issuecomment-617773983), I would like Electron to somehow overcome Chromium deficiency and pass the original `argv` to the `second-instance` event or pass any custom data comfortably.

I think the best solution could be by adding a string only param msg to `app.requestSingleInstanceLock(msg)` and the [`second-instance`](https://www.electronjs.org/docs/api/app#event-second-instance) would returns the fourth value `msg`.

Other solution may be:
1. `second-instance` would get the original `argv`, not the Chromium one. 
2. If a user pass a custom data `app.requestSingleInstanceLock(argv)`, then the `second-instance` would return this custom data as `argv`, probably processed by `JSON.parse(JSON.stringify(argv))`.

shell/browser/api/electron_api_app.cc
pid_dict.Set("name", process_metric.second->name);
    }
#if !defined(OS_LINUX)
    auto memory_info = process_metric.second->GetMemoryInfo();
    gin_helper::Dictionary memory_dict = gin::Dictionary::CreateEmpty(isolate);
    memory_dict.SetHidden("simple", true);
    memory_dict.Set("workingSetSize",
                    static_cast<double>(memory_info.working_set_size >> 10));
    memory_dict.Set(
        "peakWorkingSetSize",
        static_cast<double>(memory_info.peak_working_set_size >> 10));
#if defined(OS_WIN)
    memory_dict.Set("privateBytes",
                    static_cast<double>(memory_info.private_bytes >> 10));
#endif
    pid_dict.Set("memory", memory_dict);
#endif
#if defined(OS_MAC)
    pid_dict.Set("sandboxed", process_metric.second->IsSandboxed());
#elif defined(OS_WIN)
    auto integrity_level = process_metric.second->GetIntegrityLevel();
    auto sandboxed = ProcessMetric::IsSandboxed(integrity_level);
    pid_dict.Set("integrityLevel", integrity_level);
    pid_dict.Set("sandboxed", sandboxed);
#endif
    result.push_back(pid_dict);
  }
  return result;
}
v8::Local<v8::Value> App::GetGPUFeatureStatus(v8::Isolate* isolate) {