remove installDir from config file

This commit is contained in:
connlost 2024-10-10 23:00:41 +08:00
parent 70cb429bc2
commit 01e39a4e70

View File

@ -539,6 +539,9 @@ void load(const std::filesystem::path& path) {
if (!old_game_install_dir.empty()) {
addGameInstallDir(old_game_install_dir);
gui.as_table().erase("installDir");
std::ofstream file(path, std::ios::out);
file << data;
file.close();
}
const auto install_dir_array =