From 2e9d6966dd27f5547d66058a99e8804bb5caca48 Mon Sep 17 00:00:00 2001 From: DB p Date: Thu, 16 May 2024 17:48:00 +0900 Subject: [PATCH] disable volume control --- Flow.Launcher/SettingWindow.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index 292559b2f..35562c018 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -71,9 +71,10 @@ namespace Flow.Launcher private void CheckMediaPlayer() { - if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Windows Media Player", "wmplayer.exe"))) + if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Windows Media Player", "wmplayer2.exe"))) { WMPWarning.Visibility = Visibility.Visible; + SoundEffectValue.IsEnabled = false; } } private void SettingsWindowViewModelChanged(object sender, PropertyChangedEventArgs e)