diff --git a/src/Starward/Services/DownloadGameService.cs b/src/Starward/Services/DownloadGameService.cs index fa7e698c8..f0e0fc1e9 100644 --- a/src/Starward/Services/DownloadGameService.cs +++ b/src/Starward/Services/DownloadGameService.cs @@ -896,18 +896,25 @@ public async Task DownloadSeparateFilesAsync(CancellationToken cancellationToken } }).ConfigureAwait(false); + bool failed = false; foreach (var item in sliceTasks) { var file = Path.Combine(installPath, item.FileName); if (!File.Exists(file)) { - continue; + failed = true; + break; } if (new FileInfo(file).Length != item.Size) { - continue; + failed = true; + break; } } + if (failed) + { + continue; + } break; }