Launch chat differently so it loads on Windows Server.

This commit is contained in:
Jared Goodwin 2020-01-29 07:27:23 -08:00
parent f080b81d78
commit 6ec03ff4cc

View File

@ -43,7 +43,7 @@ namespace Remotely.Agent.Services
}
else
{
var result = Win32Interop.OpenInteractiveProcess($"conhost.exe {rcBinaryPath} -mode Chat -requester {requesterID}", "default", false, out _);
var result = Win32Interop.OpenInteractiveProcess($"{rcBinaryPath} -mode Chat -requester {requesterID}", "default", false, out _);
if (!result)
{
await hubConnection.InvokeAsync("DisplayMessage", "Remote control failed to start on target device.", "Failed to start remote control.", requesterID);