mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: add a env var to disable interface
This commit is contained in:
parent
c8d4d063bb
commit
8848d1778f
1 changed files with 11 additions and 6 deletions
|
|
@ -106,13 +106,18 @@ namespace Dalamud {
|
||||||
this.localizationMgr.SetupWithUiCulture();
|
this.localizationMgr.SetupWithUiCulture();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
if (Environment.GetEnvironmentVariable("DALAMUD_NOT_HAVE_INTERFACE") != "True") {
|
||||||
this.InterfaceManager = new InterfaceManager(this, this.SigScanner);
|
try
|
||||||
this.InterfaceManager.OnDraw += BuildDalamudUi;
|
{
|
||||||
|
this.InterfaceManager = new InterfaceManager(this, this.SigScanner);
|
||||||
|
this.InterfaceManager.OnDraw += BuildDalamudUi;
|
||||||
|
|
||||||
this.InterfaceManager.Enable();
|
this.InterfaceManager.Enable();
|
||||||
} catch (Exception e) {
|
}
|
||||||
Log.Information(e, "Could not init interface.");
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
Log.Information(e, "Could not init interface.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Data = new DataManager(this.StartInfo.Language);
|
this.Data = new DataManager(this.StartInfo.Language);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue