We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9db565 commit 2c66f01Copy full SHA for 2c66f01
Flow.Launcher/Helper/WindowsMediaPlayerHelper.cs
@@ -6,6 +6,6 @@ internal static class WindowsMediaPlayerHelper
6
internal static bool IsWindowsMediaPlayerInstalled()
7
{
8
using var key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\MediaPlayer");
9
- return key.GetValue("Installation Directory") != null;
+ return key?.GetValue("Installation Directory") != null;
10
}
11
0 commit comments