From 41d1c94879f22f569082d4adf44427df2e7ed23b Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Tue, 21 May 2013 18:19:29 -0400 Subject: Starting point for Unix implementation of built-in library path. Part of #125 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); } -- cgit v0.10.1