Skip to content

Commit

Permalink
Fix update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GieltjE committed Apr 5, 2021
1 parent 58ee08b commit cc90cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
[assembly: ComVisible(false)]
[assembly: Guid("3d1b47b7-85f0-494e-af08-94c86c0baaa6")]
[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyFileVersion("0.0.0.2")]
[assembly: AssemblyFileVersion("0.0.0.4")]
[assembly: log4net.Config.XmlConfigurator(ConfigFile = "log4net.config")]
2 changes: 1 addition & 1 deletion Service/UpdateCheck.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ internal static void CheckForUpdates()
{
if (FileOperations.CreateDirectory(updateDirectory))
{
MemoryStream stream = new(webClient.DownloadData(resultDeserialized.assets[0].browser_download_url));
MemoryStream stream = new(webClient.DownloadData(asset.browser_download_url));
FastZip fastZip = new();
fastZip.ExtractZip(stream, updateDirectory, FastZip.Overwrite.Always, null, null, null, true, true);

Expand Down

0 comments on commit cc90cc2

Please sign in to comment.