Compare commits

...

1 Commits

Author SHA1 Message Date
Sam Attard
f5fcc5a877 fix: use original-order argv for CheckCommandLineArguments on Windows 2026-04-10 04:30:29 +00:00

View File

@@ -222,7 +222,8 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {
CHECK_EQ(fiber_status, FiberStatus::kSuccess);
#endif // defined(ARCH_CPU_32_BITS)
if (!electron::CheckCommandLineArguments(command_line->argv()))
if (!electron::CheckCommandLineArguments(
electron::ElectronCommandLine::argv()))
return -1;
sandbox::SandboxInterfaceInfo sandbox_info = {nullptr};