comparison ServerMonitor/Forms/ServerSummaryForm.cs @ 30:b0af6b4bed4d

Change update URL to real URL.
author Brad Greco <brad@bgreco.net>
date Sun, 16 Jun 2019 16:54:29 -0400
parents 3866c19535fd
children 9c0e18d65e8b
comparison
equal deleted inserted replaced
29:f6235dc0a8ec 30:b0af6b4bed4d
385 private void CheckForUpdate() 385 private void CheckForUpdate()
386 { 386 {
387 UpdateManager manager = UpdateManager.Instance; 387 UpdateManager manager = UpdateManager.Instance;
388 // Make the update manager happy if the program was just restarted to apply an update. 388 // Make the update manager happy if the program was just restarted to apply an update.
389 manager.ReinstateIfRestarted(); 389 manager.ReinstateIfRestarted();
390 manager.UpdateSource = new SimpleWebSource("https://www.bgreco.net/test/servermonitor.xml"); 390 manager.UpdateSource = new SimpleWebSource("https://www.bgreco.net/servermonitor/update.xml");
391 if (manager.State == UpdateManager.UpdateProcessState.NotChecked) 391 if (manager.State == UpdateManager.UpdateProcessState.NotChecked)
392 manager.BeginCheckForUpdates(CheckForUpdatesCallback, null); 392 manager.BeginCheckForUpdates(CheckForUpdatesCallback, null);
393 } 393 }
394 394
395 /// <summary>Callback after the program update check completes.</summary> 395 /// <summary>Callback after the program update check completes.</summary>