ElwigData: Check zip file integrity
All checks were successful
Test / Run tests (push) Successful in 1m59s

This commit is contained in:
2025-08-06 12:31:19 +02:00
parent 73fe4531cc
commit d3157e4d48
5 changed files with 21 additions and 5 deletions

View File

@@ -266,8 +266,8 @@ namespace Elwig.Windows {
if (res != MessageBoxResult.OK)
return;
await App.MainDispatcher.BeginInvoke(() => {
App.ReplaceDatabase(filename);
await App.MainDispatcher.BeginInvoke(async () => {
await App.ReplaceDatabase(filename);
});
} catch (HttpRequestException exc) {
MessageBox.Show("Eventuell Internetverbindung prüfen!\n\n" + exc.Message, "Datenbank herunterladen", MessageBoxButton.OK, MessageBoxImage.Error);