Skip to content

Commit 8a69d90

Browse files
committed
- Code Cleanup
1 parent d75acbe commit 8a69d90

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

Cloaks/InstallProgress.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System;
2-
using System.Windows.Forms;
32
using System.Windows;
3+
using System.Windows.Forms;
44
using System.Windows.Input;
55

66
namespace Cloaks
@@ -61,6 +61,6 @@ private void TopBorder_MouseDown(object sender, MouseButtonEventArgs e)
6161
}
6262
}
6363

64-
64+
6565

6666
}

Cloaks/MainWindow.xaml.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ public MainWindow()
5757
newWindowThread.IsBackground = true;
5858
newWindowThread.Start();
5959

60-
61-
6260
updateHandle.WaitOne();
63-
6461
}
6562
catch (Exception ex)
6663
{
@@ -101,7 +98,7 @@ private void CheckForUpdate()
10198

10299
int versionComapre = currentVersion.CompareTo(latestVersion);
103100

104-
if (versionComapre > 0 || versionComapre == 0 || (bool) githubResponse.prerelease || (bool)githubResponse.draft)
101+
if (versionComapre > 0 || versionComapre == 0 || (bool)githubResponse.prerelease || (bool)githubResponse.draft)
105102
{
106103
updateHandle.Set();
107104
return; // Dont update if the current version is higher (dev build) or equal (up to date)

0 commit comments

Comments
 (0)