From bda122b92278c6243c58576f81d69f8607dc5ceb Mon Sep 17 00:00:00 2001 From: STBBRD <62409850+STBBRD@users.noreply.github.com> Date: Sun, 31 Mar 2024 11:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=B9=E6=9C=AA=E5=AE=89?= =?UTF-8?q?=E8=A3=85=20BNS=20=E6=83=85=E5=86=B5=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZongziTEK_Blackboard_Sticker/MainWindow.xaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ZongziTEK_Blackboard_Sticker/MainWindow.xaml.cs b/ZongziTEK_Blackboard_Sticker/MainWindow.xaml.cs index 4b0f909..892eb0a 100644 --- a/ZongziTEK_Blackboard_Sticker/MainWindow.xaml.cs +++ b/ZongziTEK_Blackboard_Sticker/MainWindow.xaml.cs @@ -2042,6 +2042,7 @@ private void ShowNotificationBNS(string title, string subtitle, double time, boo startInfo.FileName = Settings.TimetableSettings.BNSPath + "\\bns.exe"; }*/ if (GetBNSPath() != null) startInfo.FileName = GetBNSPath(); + else return; startInfo.Arguments = "\"" + title + "\"" + " \"" + subtitle + "\" -t " + timeString; if (isBottom) startInfo.Arguments += " -bottom";