steam_helper: Also recognize steam2ea:// as EA launcher.

CW-Bug-Id: #27639
This commit is contained in:
Paul Gofman authored and GloriousEggroll committed 2026-09-15 11:48:32 -06:00
1 parent 4558106a72
commit e715b7a4a2
1 file changed
+3 -1
+3 -1
View File
@@ -526,7 +526,8 @@ run:
SetConsoleCtrlHandler( console_ctrl_handler, TRUE );
use_shell_execute = should_use_shell_execute(cmdline);
if (use_shell_execute && wcslen( cmdline ) > 10 && !memcmp( cmdline, L"link2ea://", 10 * sizeof(WCHAR) ))
if (use_shell_execute && wcslen( cmdline ) > 10
&& (!memcmp( cmdline, L"link2ea://", 10 * sizeof(WCHAR) ) || !memcmp( cmdline, L"steam2ea://", 11 * sizeof(WCHAR) )))
{
HDESK desktop = GetThreadDesktop(GetCurrentThreadId());
DWORD is_unavailable, type, size;
@@ -536,6 +537,7 @@ run:
HKEY eakey;
BOOL ret;
TRACE("applying EA launcher workarounds.\n");
link2ea = TRUE;
if (!SetUserObjectInformationA(desktop, 1000, &timeout, sizeof(timeout)))
WINE_ERR("Failed to set desktop timeout, err %lu.\n", GetLastError());