Skip to content

Commit dd5399f

Browse files
committed
fix(Updater): Use the right mode to open the installer file for update.
Fixes SOUNDSWITCH-Q
1 parent 6f59209 commit dd5399f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoundSwitch/Framework/Updater/Installer/WebFile.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public void DownloadFile()
8787
{
8888
try
8989
{
90-
await using (var stream = File.OpenWrite(FilePath))
90+
await using (var stream = File.Open(FilePath, FileMode.Create))
9191
{
9292
DownloadStarted = true;
9393
await FileDownloader.DownloadFileAsync(

0 commit comments

Comments
 (0)