Skip to content

Commit

Permalink
πŸ› Maybe fixed updater bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wowkster committed Nov 2, 2021
1 parent 5185e79 commit 0ad7ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cloaks/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void CheckForUpdate()

int versionComapre = currentVersion.CompareTo(latestVersion);

if (versionComapre > 0 || versionComapre == 0 || (bool) githubResponse.prerelease)
if (versionComapre > 0 || versionComapre == 0 || (bool) githubResponse.prerelease || (bool)githubResponse.draft)
{
updateHandle.Set();
return; // Dont update if the current version is higher (dev build) or equal (up to date)
Expand Down

0 comments on commit 0ad7ec5

Please sign in to comment.