openscad/src/PlatformUtils-posix.cc

11 lines
206 B
C++

#include "PlatformUtils.h"
#include "boosty.h"
std::string PlatformUtils::documentsPath()
{
fs::path docpath(getenv("HOME"));
docpath = docpath / ".local" / "share";
return boosty::stringy(docpath);
}