diff --git a/src/PluginFramework/PluginFramework/ExecutionManager.cs b/src/PluginFramework/PluginFramework/ExecutionManager.cs index 6982b9c..bff09a0 100644 --- a/src/PluginFramework/PluginFramework/ExecutionManager.cs +++ b/src/PluginFramework/PluginFramework/ExecutionManager.cs @@ -48,12 +48,12 @@ public static class ExecutionManager ProcessWindowStyle.Normal, $"{ElsDir}\\data\\"); - private static ProcessStartOptions VoidLauncherStartOptions { get; } + private static ProcessStartOptions RiftLauncherStartOptions { get; } = new ProcessStartOptions { WaitForProcessExit = true, }.WithStartInformation( - $"{ElsDir}\\voidels.exe", + $"{ElsDir}\\elsrift.exe", string.Empty, false, false, @@ -94,9 +94,9 @@ public static bool IsElsKomRunning() /// Get if the launcher is currently running. /// If the specified program is currently running. public static bool IsExecuting(bool launcher) - => (launcher, File.Exists($"{ElsDir}\\voidels.exe")) switch - { - (true, true) => VoidLauncherStartOptions.Executing, + => (launcher, File.Exists($"{ElsDir}\\elsrift.exe")) switch + { + (true, true) => RiftLauncherStartOptions.Executing, (true, false) => LauncherStartOptions.Executing, _ => GameStartOptions.Executing, }; @@ -161,11 +161,11 @@ public static void RunElswordLauncher() if (!string.IsNullOrEmpty(ElsDir)) { RunningElsword = true; - VoidLauncherStartOptions.StartInfo.FileName = $"{ElsDir}\\voidels.exe"; - VoidLauncherStartOptions.StartInfo.WorkingDirectory = ElsDir; + RiftLauncherStartOptions.StartInfo.FileName = $"{ElsDir}\\elsrift.exe"; + RiftLauncherStartOptions.StartInfo.WorkingDirectory = ElsDir; try { - VoidLauncherStartOptions.Start(); + RiftLauncherStartOptions.Start(); } catch (FileNotFoundException) {