mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
Add a message to the plugin window when SafeMode is active
This commit is contained in:
parent
e302b3bd8f
commit
910176914e
3 changed files with 33 additions and 13 deletions
|
|
@ -236,15 +236,14 @@ namespace Dalamud
|
|||
{
|
||||
Log.Information("[T3] START!");
|
||||
|
||||
var pluginManager = Service<PluginManager>.Set();
|
||||
Service<CallGate>.Set();
|
||||
|
||||
if (!bool.Parse(Environment.GetEnvironmentVariable("DALAMUD_NOT_HAVE_PLUGINS") ?? "false"))
|
||||
{
|
||||
try
|
||||
{
|
||||
Service<CallGate>.Set();
|
||||
|
||||
var pluginManager = Service<PluginManager>.Set();
|
||||
pluginManager.OnInstalledPluginsChanged += () =>
|
||||
Troubleshooting.LogTroubleshooting();
|
||||
pluginManager.OnInstalledPluginsChanged += Troubleshooting.LogTroubleshooting;
|
||||
|
||||
Log.Information("[T3] PM OK!");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue