Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Fix broken custom component downloading in 8a33898
Browse files Browse the repository at this point in the history
  • Loading branch information
SadPencil committed Mar 15, 2024
1 parent c2d755c commit 5d07ca6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClientUpdater/CustomComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ private async Task DoDownloadComponentAsync(CancellationToken cancellationToken)

num++;

var downloadFileStream = new FileStream(versionFileName, FileMode.Create, FileAccess.Write, FileShare.None, 4096, FileOptions.Asynchronous);
var downloadFileStream = new FileStream(downloadFileName, FileMode.Create, FileAccess.Write, FileShare.None, 4096, FileOptions.Asynchronous);
using (downloadFileStream)
{
Stream stream = await httpClient.GetStreamAsync(downloadUri).ConfigureAwait(false);
Expand Down

0 comments on commit 5d07ca6

Please sign in to comment.