mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-27 09:23:57 -04:00
Fix log folder creation on MacOS
This commit is contained in:
@@ -80,8 +80,7 @@ void LogManager::configure(json config, const std::string &defaultDir)
|
||||
fs::path p = logname;
|
||||
if(p.is_relative())
|
||||
{
|
||||
p = defaultDir;
|
||||
p.append("/logs/");
|
||||
p = defaultDir + "logs/";
|
||||
p.append(logname);
|
||||
}
|
||||
fs::create_directories(p.parent_path());
|
||||
|
||||
Reference in New Issue
Block a user