diff --git a/Dalamud.Injector/EntryPoint.cs b/Dalamud.Injector/EntryPoint.cs index 48d86d160..e25dc1471 100644 --- a/Dalamud.Injector/EntryPoint.cs +++ b/Dalamud.Injector/EntryPoint.cs @@ -450,7 +450,7 @@ namespace Dalamud.Injector { try { - NativeAclFix.ClaimSeDebug(); + GameStart.ClaimSeDebug(); Log.Information("SeDebugPrivilege claimed."); } catch (Win32Exception e2) @@ -593,7 +593,7 @@ namespace Dalamud.Injector } var gameArgumentString = string.Join(" ", gameArguments.Select(x => EncodeParameterArgument(x))); - var process = NativeAclFix.LaunchGame(Path.GetDirectoryName(gamePath), gamePath, gameArgumentString, noFixAcl, (Process p) => + var process = GameStart.LaunchGame(Path.GetDirectoryName(gamePath), gamePath, gameArgumentString, noFixAcl, (Process p) => { if (!withoutDalamud && mode == "entrypoint") { @@ -696,7 +696,7 @@ namespace Dalamud.Injector { try { - NativeAclFix.CopyAclFromSelfToTargetProcess(process.SafeHandle.DangerousGetHandle()); + GameStart.CopyAclFromSelfToTargetProcess(process.SafeHandle.DangerousGetHandle()); } catch (Win32Exception e1) { diff --git a/Dalamud.Injector/NativeAclFix.cs b/Dalamud.Injector/GameStart.cs similarity index 99% rename from Dalamud.Injector/NativeAclFix.cs rename to Dalamud.Injector/GameStart.cs index 5f14bce26..e924fad23 100644 --- a/Dalamud.Injector/NativeAclFix.cs +++ b/Dalamud.Injector/GameStart.cs @@ -12,9 +12,9 @@ using Serilog; namespace Dalamud.Injector { /// - /// Class responsible for stripping ACL protections from processes. + /// Class responsible for starting the game and stripping ACL protections from processes. /// - public static class NativeAclFix + public static class GameStart { /// /// Start a process without ACL protections.