This commit is contained in:
@@ -67,6 +67,9 @@ namespace PamhagenSysCtrl {
|
|||||||
|
|
||||||
public static async Task CheckForUpdates(bool showResult = false) {
|
public static async Task CheckForUpdates(bool showResult = false) {
|
||||||
if (Config.UpdateUrl == null) return;
|
if (Config.UpdateUrl == null) return;
|
||||||
|
foreach (Window w in Current.Windows) {
|
||||||
|
if (w is UpdateDialog) return;
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
var latest = await UpdateService.GetLatestInstallerUrl(Config.UpdateUrl);
|
var latest = await UpdateService.GetLatestInstallerUrl(Config.UpdateUrl);
|
||||||
|
|||||||
Reference in New Issue
Block a user