fix: need to create account twice due to commit latency?? (#1873)

idk fixes the issue
This commit is contained in:
David Markowitz
2025-09-08 20:50:22 -07:00
committed by GitHub
parent 566a18df38
commit 6d3bf2fdc3

View File

@@ -159,6 +159,7 @@ int main(int argc, char** argv) {
}
MigrationRunner::RunMigrations();
Database::Get()->Commit();
const auto resServerPath = BinaryPathFinder::GetBinaryDir() / "resServer";
std::filesystem::create_directories(resServerPath);
const bool cdServerExists = std::filesystem::exists(resServerPath / "CDServer.sqlite");