diff --git a/Tactility/Source/app/AppPaths.cpp b/Tactility/Source/app/AppPaths.cpp index 711e57db..79b761f8 100644 --- a/Tactility/Source/app/AppPaths.cpp +++ b/Tactility/Source/app/AppPaths.cpp @@ -16,15 +16,15 @@ namespace tt::app { std::string AppPaths::getUserDataPath() const { if (manifest.appLocation.isInternal()) { - return std::format("{}{}/app/{}", PARTITION_PREFIX, file::DATA_PARTITION_NAME, manifest.appId); + return std::format("{}{}/user/app/{}", PARTITION_PREFIX, file::DATA_PARTITION_NAME, manifest.appId); } else { - return std::format("{}/user/{}", file::getFirstPathSegment(manifest.appLocation.getPath()), manifest.appId); + return std::format("{}/user/app/{}", file::getFirstPathSegment(manifest.appLocation.getPath()), manifest.appId); } } std::string AppPaths::getUserDataPath(const std::string& childPath) const { assert(!childPath.starts_with('/')); - return getUserDataPath() + '/' + childPath; + return std::format("{}/{}", getUserDataPath(), childPath); }