Skip to content

Commit

Permalink
Don't migrate config
Browse files Browse the repository at this point in the history
  • Loading branch information
captainurist committed Nov 19, 2024
1 parent feec973 commit 60a0de3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/Application/Startup/GameStarter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,6 @@ void GameStarter::migrateUserData() {
}
}
}

if (ufs->exists(configName)) {
logger->info(" Target config exists, skipping config migration.");
} else if (!dfs->exists(configName)) {
logger->info(" No config file to migrate.");
} else {
ufs->write(configName, dfs->read(configName));
logger->info(" Copied '{}'.", configName);
}
}

void GameStarter::run() {
Expand Down
1 change: 0 additions & 1 deletion src/Library/Config/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ void Config::save(std::string_view path) const {
}

void Config::load(InputStream *stream) {
// We'd rather handle FS errors on our side.
std::istringstream stdStream(stream->readAll());

ini::IniFile ini;
Expand Down

0 comments on commit 60a0de3

Please sign in to comment.