mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 23:32:59 -04:00
Fix log folder creation on MacOS
This commit is contained in:
1 parent
212c3e6297
commit
a5a9482206
1 file changed
+1
-2
+1
-2
@@ -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