Skip to content

Commit

Permalink
fix IOE on WAS version check
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Jan 18, 2024
1 parent 0571c38 commit ae96cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap.Hutao.Deployment/WindowsAppSDKDependency.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private static async Task<bool> CheckRuntimeInstalledAndVerifyAsync(string packa
}
}

return results.Aggregate((result, element) => result || element);
return results.Count > 0 && results.Aggregate((result, element) => result || element);
}

private static async Task DownloadWindowsAppRuntimeInstallAndInstallAsync(string version)
Expand Down

0 comments on commit ae96cdf

Please sign in to comment.