mirror of
https://github.com/Droid-Deck/DroidDeck-Proton.git
synced 2026-11-07 02:36:05 -10:00
steam_helper: Also recognize steam2ea:// as EA launcher.
CW-Bug-Id: #27639
This commit is contained in:
1 parent
4558106a72
commit
e715b7a4a2
1 file changed
+3
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user