mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-20 23:07:43 +01:00
AntiDebug: persist state in config
This commit is contained in:
parent
8161fafc9e
commit
090da41ff1
4 changed files with 18 additions and 3 deletions
|
|
@ -229,8 +229,11 @@ namespace Dalamud
|
|||
this.Configuration = DalamudConfiguration.Load(this.StartInfo.ConfigurationPath);
|
||||
|
||||
this.AntiDebug = new AntiDebug(this.SigScanner);
|
||||
if (this.Configuration.IsAntiAntiDebugEnabled)
|
||||
this.AntiDebug.Enable();
|
||||
#if DEBUG
|
||||
this.AntiDebug.Enable();
|
||||
if (!this.AntiDebug.IsEnabled)
|
||||
this.AntiDebug.Enable();
|
||||
#endif
|
||||
|
||||
Log.Information("[T2] AntiDebug OK!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue