Currently, wine is unable to find and execute URIs (such as Link2EA://someurlhere), with this patch wine is able to fall back to using start.exe instead of terminating the process.
From: Etaash Mathamsetty etaash.mathamsetty@gmail.com
--- dlls/ntdll/unix/loader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/ntdll/unix/loader.c b/dlls/ntdll/unix/loader.c index 8d5fc79895c..01e2aa497a6 100644 --- a/dlls/ntdll/unix/loader.c +++ b/dlls/ntdll/unix/loader.c @@ -1799,8 +1799,7 @@ NTSTATUS load_main_exe( const WCHAR *dos_name, const char *unix_name, const WCHA failed: MESSAGE( "wine: failed to open %s: %x\n", unix_name ? debugstr_a(unix_name) : debugstr_w(dos_name), status ); - NtTerminateProcess( GetCurrentProcess(), status ); - return status; /* unreached */ + return status; }
This merge request was closed by Alexandre Julliard.
That doesn't seem desirable. You can't run a URI directly on Windows either, you have to use start.exe explicitly.
On Mon Aug 21 16:09:24 2023 +0000, Alexandre Julliard wrote:
That doesn't seem desirable. You can't run a URI directly on Windows either, you have to use start.exe explicitly.
ok makes sense, I guess legendary is not executing the URI correctly. I will send a patch there I guess.