23 lines
636 B
C#
23 lines
636 B
C#
![]() |
using System;
|
|||
|
using System.Diagnostics;
|
|||
|
|
|||
|
namespace Haru.Launcher
|
|||
|
{
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Main(string[] args)
|
|||
|
{
|
|||
|
var sessionId = "haru-singleplayer";
|
|||
|
var host = "http://localhost:8000";
|
|||
|
var exe = "EscapeFromTarkov.exe";
|
|||
|
var process = new ProcessStartInfo(exe)
|
|||
|
{
|
|||
|
Arguments = "-force-gfx-jobs native -token=" + sessionId + "-config={\"backendurl\":\"" + host + "\",\"version\":\"live\"}",
|
|||
|
UseShellExecute = false
|
|||
|
};
|
|||
|
|
|||
|
Process.Start(process);
|
|||
|
Environment.Exit(0);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|