mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-15 12:27:43 +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
|
|
@ -770,6 +770,12 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
{
|
||||
var pluginManager = Service<PluginManager>.Get();
|
||||
|
||||
if (pluginManager.SafeMode)
|
||||
{
|
||||
ImGui.Text(Locs.TabBody_SafeMode);
|
||||
return false;
|
||||
}
|
||||
|
||||
var ready = pluginManager.PluginsReady && pluginManager.ReposReady;
|
||||
|
||||
if (!ready)
|
||||
|
|
@ -1873,6 +1879,8 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
|
||||
public static string TabBody_DownloadFailed => Loc.Localize("InstallerDownloadFailed", "Download failed.");
|
||||
|
||||
public static string TabBody_SafeMode => Loc.Localize("InstallerSafeMode", "Dalamud is running in Plugin Safe Mode, restart to activate plugins.");
|
||||
|
||||
#endregion
|
||||
|
||||
#region Search text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue