Skip to content

Commit

Permalink
Fix ZenovaAPI Version Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TrinityDevelopers committed Jul 29, 2020
1 parent 4df71b9 commit 543713b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZenovaLauncher/Utils/ZenovaUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public class AssemblyType
public PostDownload PostDownloadTask { get; set; }
public Version InstalledVersion
{
get { return _installedVersion != null ? _installedVersion : GetVersionFromPath(DownloadPath(this, 0)); }
get { return _installedVersion != null ? _installedVersion : GetVersionFromPath(DownloadPath(this, AssetsCount - 1)); }
}

public AssemblyType(string repositoryName, GetDLPath downloadPath, PostDownload postDownloadTask = default, Version installedVersion = null, int numberOfAssets = 1)
Expand Down

0 comments on commit 543713b

Please sign in to comment.