Make branch detection warnings less annoying

This commit is contained in:
RisaDev
2024-11-18 02:47:09 +03:00
parent f03e43792f
commit cbc732d00a
4 changed files with 13 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ public class DalamudBranchService : IService
/// Message used in various places to tell user why the plugin is disabled
/// </summary>
public const string PluginDisabledMessage = "You are running development or testing version of Dalamud.\n" +
"Regular users are not supposed to run Customize+ on non-release versions of Dalamud therefore Customize+ has disabled itself.";
"Regular users are not supposed to run Customize+ on non-release versions of Dalamud therefore Customize+ has disabled itself until you go back to stable version.";
/// <summary>
/// Current Dalamud branch

View File

@@ -54,8 +54,8 @@ public class UserNotifierService : IDisposable
if (displayOptionalMessages)
{
UIGlobals.PlayChatSoundEffect(11);
_popupSystem.ShowPopup(PopupSystem.Messages.PluginDisabledNonReleaseDalamud);
if(_popupSystem.ShowPopup(PopupSystem.Messages.PluginDisabledNonReleaseDalamud))
UIGlobals.PlayChatSoundEffect(11);
}
}
}