You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has a small bug in the library, recognizing two backslashes in the output(which should only be one in this case):
// Bug example:
bool write_default_config() {
auto default_config_file = std::ofstream(config::get_config_file_full_dir());
if (default_config_file.is_open()) {
json default_config = {{"steam_path", "C:\\Program Files (x86)\\Steam"}, // I need to use \\ because it is a backslash character, using only \ the compiler doesn't recognize as a backslash character
{"clear_appcache", true},
{"execute_bcdedit", true},
{"execute_sfc", true},
{"repair_steamservice", true}};
default_config_file << default_config.dump(10) << std::endl;
default_config_file.close();
return true;
}
return false;
}
It has a small bug in the library, recognizing two backslashes in the output(which should only be one in this case):
Output in .json file:
Correct output should be:
Is there any way to show only one backslash instead of two on output?
The text was updated successfully, but these errors were encountered: