Prüfen ob es sich um einen First-Start handelt

This commit is contained in:
Husky
2021-03-25 16:44:24 +01:00
parent 6df0d11cca
commit 4d5dfda365

View File

@@ -60,6 +60,7 @@ namespace Database
string filepath = Path.Combine(pfad, "projekte", "TeufelDB.xaml"); string filepath = Path.Combine(pfad, "projekte", "TeufelDB.xaml");
if (!File.Exists(filepath)) if (!File.Exists(filepath))
{ {
if (!Directory.Exists("./projekte")) return true;
UpdateDatabase.UpdateNewGuids(); UpdateDatabase.UpdateNewGuids();
UpdateDatabase.TransferAuftraggeber(); UpdateDatabase.TransferAuftraggeber();