reloaded by default, corehook => minhook

This commit is contained in:
goat 2021-10-28 01:14:27 +02:00
parent 0dbf51330c
commit 6c06645b00
No known key found for this signature in database
GPG key ID: 7773BB5B43BA52E5
4 changed files with 9 additions and 7 deletions

View file

@ -25,7 +25,7 @@ namespace Dalamud.Configuration.Internal
/// <summary>
/// Gets a value indicating whether the DalamudForceCoreHook setting has been enabled.
/// </summary>
public static bool DalamudForceCoreHook { get; } = GetEnvironmentVariable("DALAMUD_FORCE_COREHOOK");
public static bool DalamudForceMinHook { get; } = GetEnvironmentVariable("DALAMUD_FORCE_COREHOOK");
private static bool GetEnvironmentVariable(string name)
=> bool.Parse(Environment.GetEnvironmentVariable(name) ?? "false");