diff --git a/MinecraftLaunch.Test/MinecraftLaunch.Simple.csproj b/MinecraftLaunch.Test/MinecraftLaunch.Simple.csproj index c1a7f5c..d251f97 100644 --- a/MinecraftLaunch.Test/MinecraftLaunch.Simple.csproj +++ b/MinecraftLaunch.Test/MinecraftLaunch.Simple.csproj @@ -8,6 +8,7 @@ + diff --git a/MinecraftLaunch/Components/Fetcher/JavaFetcher.cs b/MinecraftLaunch/Components/Fetcher/JavaFetcher.cs index 48bcb40..50622c1 100644 --- a/MinecraftLaunch/Components/Fetcher/JavaFetcher.cs +++ b/MinecraftLaunch/Components/Fetcher/JavaFetcher.cs @@ -155,6 +155,10 @@ private ImmutableArray FetchWindowJava() { var drives = DriveInfo.GetDrives(); foreach (var drive in drives) { + if (!drive.IsReady) { + continue; + } + FetchJavaw(drive.Name.ToDirectoryInfo(), ref paths); } diff --git a/MinecraftLaunch/MinecraftLaunch.csproj b/MinecraftLaunch/MinecraftLaunch.csproj index 4e54b9e..efcb0c6 100644 --- a/MinecraftLaunch/MinecraftLaunch.csproj +++ b/MinecraftLaunch/MinecraftLaunch.csproj @@ -1,6 +1,6 @@  - 3.1.0-preview03 + 3.1.0-preview04