feat: alternate hooks

This commit is contained in:
Raymond 2021-10-13 13:45:01 -04:00
parent dc88cec7d3
commit 6f41575f33
8 changed files with 137 additions and 19 deletions

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using Dalamud.Configuration.Internal;
using Dalamud.Logging.Internal;
using Dalamud.Memory;
using Iced.Intel;
@ -40,7 +41,7 @@ namespace Dalamud.Hooking.Internal
bool Check1()
{
return Environment.GetEnvironmentVariable("XL_WINEONLINUX") != null;
return EnvironmentConfiguration.XlWineOnLinux;
}
bool Check2()