mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-17 21:37:43 +01:00
chore: don't enable context menu hooks by default
This commit is contained in:
parent
4b4c6d50e6
commit
58c63bfedf
2 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ namespace Dalamud.Configuration.Internal
|
|||
/// <summary>
|
||||
/// Gets a value indicating whether or not Dalamud context menus should be disabled.
|
||||
/// </summary>
|
||||
public static bool DalamudNoContextMenu { get; } = GetEnvironmentVariable("DALAMUD_NO_CONTEXTMENU");
|
||||
public static bool DalamudDoContextMenu { get; } = GetEnvironmentVariable("DALAMUD_ENABLE_CONTEXTMENU");
|
||||
|
||||
private static bool GetEnvironmentVariable(string name)
|
||||
=> bool.Parse(Environment.GetEnvironmentVariable(name) ?? "false");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue