Skip to content

Commit

Permalink
fix(Updater): Use the right mode to open the installer file for update.
Browse files Browse the repository at this point in the history
Fixes SOUNDSWITCH-Q
  • Loading branch information
Belphemur committed May 22, 2021
1 parent 6f59209 commit dd5399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoundSwitch/Framework/Updater/Installer/WebFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void DownloadFile()
{
try
{
await using (var stream = File.OpenWrite(FilePath))
await using (var stream = File.Open(FilePath, FileMode.Create))
{
DownloadStarted = true;
await FileDownloader.DownloadFileAsync(
Expand Down

0 comments on commit dd5399f

Please sign in to comment.