Skip to content

Commit 3ad22b1

Browse files
committed
Fix: Fixed an issue where a WSL prompt would sometimes display on startup
1 parent cc2586e commit 3ad22b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Utils/Global/WSLDistroManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public static async Task UpdateDrivesAsync()
2929
try
3030
{
3131
// Check if WSL is installed
32-
const string WslRegistryPath = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss";
32+
const string WslRegistryPath = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss\MSI";
3333
using (var key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(WslRegistryPath))
3434
{
3535
if (key != null && key.GetSubKeyNames().Length == 0)

0 commit comments

Comments
 (0)