From 2b21720894605d5505cc477aa192a96429853d58 Mon Sep 17 00:00:00 2001
From: pizzaboxer <41478239+pizzaboxer@users.noreply.github.com>
Date: Mon, 2 Jan 2023 11:27:54 +0000
Subject: [PATCH] Don't check for updates on uninstall
---
Bloxstrap/Bloxstrap.csproj | 4 ++--
Bloxstrap/Program.cs | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Bloxstrap/Bloxstrap.csproj b/Bloxstrap/Bloxstrap.csproj
index 98b447a..5a86f7a 100644
--- a/Bloxstrap/Bloxstrap.csproj
+++ b/Bloxstrap/Bloxstrap.csproj
@@ -10,8 +10,8 @@
AnyCPU
AnyCPU;x86
Bloxstrap.ico
- 1.6.0
- 1.6.0.0
+ 1.6.1
+ 1.6.1.0
diff --git a/Bloxstrap/Program.cs b/Bloxstrap/Program.cs
index 6abdf3e..2a56e6a 100644
--- a/Bloxstrap/Program.cs
+++ b/Bloxstrap/Program.cs
@@ -126,7 +126,8 @@ namespace Bloxstrap
}
#if !DEBUG
- Updater.Check().Wait();
+ if (!IsUninstall)
+ Updater.Check().Wait();
#endif
string commandLine = "";