Show only one UpdateDialog at a time
Test / Run tests (push) Successful in 14s

This commit is contained in:
2026-08-19 10:09:06 +02:00
parent d303f0767a
commit 0b6b05551b
+3
View File
@@ -67,6 +67,9 @@ namespace PamhagenSysCtrl {
public static async Task CheckForUpdates(bool showResult = false) {
if (Config.UpdateUrl == null) return;
foreach (Window w in Current.Windows) {
if (w is UpdateDialog) return;
}
try {
var latest = await UpdateService.GetLatestInstallerUrl(Config.UpdateUrl);