From ee8890894001a83f05ffa20b855c1831166a321f Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Sun, 4 Feb 2024 14:10:50 +0000 Subject: [PATCH] add log and quiet check --- Bloxstrap/App.xaml.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Bloxstrap/App.xaml.cs b/Bloxstrap/App.xaml.cs index e7a8f83..b27d21a 100644 --- a/Bloxstrap/App.xaml.cs +++ b/Bloxstrap/App.xaml.cs @@ -171,10 +171,13 @@ namespace Bloxstrap if (!menuLock.IsAcquired) { - Frontend.ShowMessageBox( - Bloxstrap.Resources.Strings.Menu_MenuAlreadyRunning, - MessageBoxImage.Error - ); + Logger.WriteLine(LOG_IDENT, "Could not acquire menu mutex"); + + if (!LaunchSettings.IsQuiet) + Frontend.ShowMessageBox( + Bloxstrap.Resources.Strings.Menu_MenuAlreadyRunning, + MessageBoxImage.Error + ); } else {