Skip to content

Commit

Permalink
修复一个 Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSpring114 committed Jul 7, 2024
1 parent 4c63aac commit 900402e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions MinecraftLaunch.Test/MinecraftLaunch.Simple.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\MinecraftLaunch.Skin\MinecraftLaunch.Skin.csproj" />
<ProjectReference Include="..\MinecraftLaunch\MinecraftLaunch.csproj" />
</ItemGroup>

Expand Down
4 changes: 4 additions & 0 deletions MinecraftLaunch/Components/Fetcher/JavaFetcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ private ImmutableArray<JavaEntry> FetchWindowJava() {

var drives = DriveInfo.GetDrives();
foreach (var drive in drives) {
if (!drive.IsReady) {
continue;
}

FetchJavaw(drive.Name.ToDirectoryInfo(), ref paths);
}

Expand Down
2 changes: 1 addition & 1 deletion MinecraftLaunch/MinecraftLaunch.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>3.1.0-preview03</Version>
<Version>3.1.0-preview04</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 900402e

Please sign in to comment.