mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 23:07:43 +01:00
feat: alternate hooks
This commit is contained in:
parent
dc88cec7d3
commit
6f41575f33
8 changed files with 137 additions and 19 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue