notevied user that settings.toml was created

This commit is contained in:
Zastian Pretorius
2021-10-24 23:21:47 +02:00
parent 03c21681d3
commit 6bd1e5463d

View File

@@ -40,6 +40,8 @@ void writeSettins()
settings << "path = " << "\"" << home << "/Documents/Compressed/\"" << std::endl; settings << "path = " << "\"" << home << "/Documents/Compressed/\"" << std::endl;
settings << "extensions = [\".zip\",\".rar\",\".7z\"]"; settings << "extensions = [\".zip\",\".rar\",\".7z\"]";
settings.close(); settings.close();
std::cout << "settings.toml made in " << settingsPath << std::endl;
exit(0);
} }
//Reads all the lines in settings.toml and saves them in a vector line by line. //Reads all the lines in settings.toml and saves them in a vector line by line.