summaryrefslogtreecommitdiff
path: root/src/PlatformUtils-posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlatformUtils-posix.cc')
-rw-r--r--src/PlatformUtils-posix.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/PlatformUtils-posix.cc b/src/PlatformUtils-posix.cc
index 7ed6735..e581de6 100644
--- a/src/PlatformUtils-posix.cc
+++ b/src/PlatformUtils-posix.cc
@@ -1,7 +1,10 @@
#include "PlatformUtils.h"
+#include "boosty.h"
std::string PlatformUtils::documentsPath()
{
- // FIXME: Implement
- return "";
+ fs::path docpath(getenv("HOME"));
+ docpath /= ".local" / "share";
+
+ return boosty::stringy(docpath);
}
contact: Jan Huwald // Impressum