mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-14 11:57:42 +01:00
feat: Allow /xldev to disable Safe Mode (#2166)
- Adds new menu item to /xldev to disable Safe Mode, allowing users to load plugins again. - Safe mode cannot be re-enabled once disabled. - Add new ModuleLog.Create<T> for eventual ILogger magic - Make safe mode writable - Remove redundant check in CheckPolicy
This commit is contained in:
parent
da8be03124
commit
a656fefb2b
4 changed files with 38 additions and 13 deletions
|
|
@ -1012,6 +1012,11 @@ internal class DalamudInterface : IInternalDisposableService
|
|||
pluginManager.LoadBannedPlugins = !pluginManager.LoadBannedPlugins;
|
||||
}
|
||||
|
||||
if (pluginManager.SafeMode && ImGui.MenuItem("Disable Safe Mode"))
|
||||
{
|
||||
pluginManager.SafeMode = false;
|
||||
}
|
||||
|
||||
ImGui.Separator();
|
||||
ImGui.MenuItem("API Level:" + PluginManager.DalamudApiLevel, false);
|
||||
ImGui.MenuItem("Loaded plugins:" + pluginManager.InstalledPlugins.Count(), false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue