mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
feat: set PluginSafeMode = true if needed
This commit is contained in:
parent
b05d362353
commit
c864cae087
2 changed files with 4 additions and 2 deletions
|
|
@ -212,7 +212,9 @@ namespace Dalamud
|
|||
if (result == (int)User32.MessageBoxResult.IDYES)
|
||||
{
|
||||
Log.Information("User chose to disable plugins on next launch...");
|
||||
// TODO When services are in
|
||||
var config = Service<DalamudConfiguration>.Get();
|
||||
config.PluginSafeMode = true;
|
||||
config.Save();
|
||||
}
|
||||
|
||||
Environment.Exit(-1);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Dalamud.IoC;
|
||||
|
||||
using Dalamud.IoC.Internal;
|
||||
using Dalamud.Plugin;
|
||||
using ImGuiNET;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue