From 0ad7ec5a8e493dd2a4bbea9fbd2822507cb4af6d Mon Sep 17 00:00:00 2001 From: Wowkster Date: Tue, 2 Nov 2021 03:13:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Maybe=20fixed=20updater=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cloaks/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cloaks/MainWindow.xaml.cs b/Cloaks/MainWindow.xaml.cs index 74361bc..8a84305 100644 --- a/Cloaks/MainWindow.xaml.cs +++ b/Cloaks/MainWindow.xaml.cs @@ -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)