mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
fix: Create resServer and logs if it doesnt exist and update readme (#1686)
* create resServer if not exist * Update README.md * Update README.md
This commit is contained in:
@@ -126,6 +126,7 @@ int main(int argc, char** argv) {
|
||||
|
||||
MigrationRunner::RunMigrations();
|
||||
const auto resServerPath = BinaryPathFinder::GetBinaryDir() / "resServer";
|
||||
std::filesystem::create_directories(resServerPath);
|
||||
const bool cdServerExists = std::filesystem::exists(resServerPath / "CDServer.sqlite");
|
||||
const bool oldCDServerExists = std::filesystem::exists(Game::assetManager->GetResPath() / "CDServer.sqlite");
|
||||
const bool fdbExists = std::filesystem::exists(Game::assetManager->GetResPath() / "cdclient.fdb");
|
||||
|
Reference in New Issue
Block a user