mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-19 06:17:43 +01:00
reloaded by default, corehook => minhook
This commit is contained in:
parent
0dbf51330c
commit
6c06645b00
4 changed files with 9 additions and 7 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue