Skip to content

Commit e844df7

Browse files
committed
Add conflict notice of CatCore and ChatCore
1 parent a2ed3ab commit e844df7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ModAssistant/Pages/Mods.xaml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -767,22 +767,22 @@ private void UnresolveDependencies(Mod dependent)
767767
private void ModCheckBox_Checked(object sender, RoutedEventArgs e)
768768
{
769769
Mod mod = (sender as System.Windows.Controls.CheckBox).Tag as Mod;
770-
/*if (mod.name.ToLowerInvariant() == "songcore") {
770+
if (mod.name.ToLowerInvariant() == "catcore") {
771771
string notice = "";
772772
string caption = "";
773773
switch (Properties.Settings.Default.LanguageCode) {
774774
case "zh":
775775
caption = "提示";
776-
notice = "";
776+
notice = "您勾选安装CatCore(猫猫核心)\n该mod与由baoziii维护的ChatCore(聊天核心)、EnhancedStreamChat-v3(增强直播聊天V3)以及SongRequestManager-v2(点歌管理器V2)互不兼容。\n如果您想使用ChatCore(聊天核心)所支持的Bilibili直播弹幕功能,请取消勾选该mod。";
777777
break;
778778
default:
779779
caption = "Notice";
780-
notice = "";
780+
notice = "You selected CatCore, which is conflicted with the following mods maintained by baoziii: ChatCore, EnhancedStreamChat-v3, and SongRequestManager-v2.\nIf you need to check Bilibili Live Danmuku, please uncheck this box.";
781781
break;
782782
}
783783

784784
System.Windows.Forms.MessageBox.Show(notice, caption);
785-
}*/
785+
}
786786
mod.ListItem.IsSelected = true;
787787
// Console.WriteLine(mod.name + "(" + mod._id + ")");
788788
ResolveDependencies(mod);

0 commit comments

Comments
 (0)