tests: add httpcommon tests and add new file_handler methods (#2712)
Co-authored-by: Mariotaku <mariotaku.lee@gmail.com>
This commit is contained in:
parent
0c0b4c4610
commit
334267807f
8 changed files with 144 additions and 6 deletions
|
|
@ -1255,9 +1255,7 @@ namespace config {
|
|||
bool config_loaded = false;
|
||||
try {
|
||||
// Create appdata folder if it does not exist
|
||||
if (!boost::filesystem::exists(platf::appdata().string())) {
|
||||
boost::filesystem::create_directories(platf::appdata().string());
|
||||
}
|
||||
file_handler::make_directory(platf::appdata().string());
|
||||
|
||||
// Create empty config file if it does not exist
|
||||
if (!fs::exists(sunshine.config_file)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue