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

Commit 5d07ca6

Browse files
committed
Fix broken custom component downloading in 8a33898
1 parent c2d755c commit 5d07ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClientUpdater/CustomComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ private async Task DoDownloadComponentAsync(CancellationToken cancellationToken)
222222

223223
num++;
224224

225-
var downloadFileStream = new FileStream(versionFileName, FileMode.Create, FileAccess.Write, FileShare.None, 4096, FileOptions.Asynchronous);
225+
var downloadFileStream = new FileStream(downloadFileName, FileMode.Create, FileAccess.Write, FileShare.None, 4096, FileOptions.Asynchronous);
226226
using (downloadFileStream)
227227
{
228228
Stream stream = await httpClient.GetStreamAsync(downloadUri).ConfigureAwait(false);

0 commit comments

Comments
 (0)