diff ServerMonitor/Forms/ServerSummaryForm.cs @ 34:9c0e18d65e8b

Build NuGet from source instead of using the NuGet package to fix the update notification always showing when the program is run from Windows startup.
author Brad Greco <brad@bgreco.net>
date Sat, 13 Jul 2019 12:09:10 -0400
parents b0af6b4bed4d
children
line wrap: on
line diff
--- a/ServerMonitor/Forms/ServerSummaryForm.cs	Sun Jun 16 16:55:37 2019 -0400
+++ b/ServerMonitor/Forms/ServerSummaryForm.cs	Sat Jul 13 12:09:10 2019 -0400
@@ -384,6 +384,10 @@
         /// <summary>Begins checking for program updates in the background.</summary>
         private void CheckForUpdate()
         {
+            // The latest NuGet package of NAppUpdate (0.5.1) always thinks that an update is available
+            // when the program is run from Windows startup (https://github.com/synhershko/NAppUpdate/pull/122).
+            // The fix has already been made but not released, so the version of NAppUpdate included in
+            // this project was built from source instead of using the NuGet package.
             UpdateManager manager = UpdateManager.Instance;
             // Make the update manager happy if the program was just restarted to apply an update.
             manager.ReinstateIfRestarted();