mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
chore: new boot defaults
This commit is contained in:
parent
f61ffcae92
commit
0c59f65aef
1 changed files with 10 additions and 0 deletions
|
|
@ -54,6 +54,16 @@ namespace Dalamud.Injector
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Set boot defaults
|
||||||
|
var prevFixList = Environment.GetEnvironmentVariable("DALAMUD_GAMEFIX_LIST");
|
||||||
|
if (string.IsNullOrWhiteSpace(prevFixList))
|
||||||
|
{
|
||||||
|
Environment.SetEnvironmentVariable("DALAMUD_GAMEFIX_LIST", "prevent_devicechange_crashes,disable_game_openprocess_access_check,redirect_openprocess");
|
||||||
|
}
|
||||||
|
|
||||||
|
Environment.SetEnvironmentVariable("DALAMUD_DOTNET_OPENPROCESS_HOOKMODE", "0");
|
||||||
|
Environment.SetEnvironmentVariable("DALAMUD_UNHOOK_DLLS", "kernel32.dll,ntdll.dll,user32.dll");
|
||||||
|
|
||||||
DalamudStartInfo startInfo = null;
|
DalamudStartInfo startInfo = null;
|
||||||
if (args.Count == 1)
|
if (args.Count == 1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue