From 5de478eb741c9110122d43d571da1b514b2d9e78 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Mon, 22 Sep 2025 01:01:30 +0200 Subject: [PATCH] Improvements --- Tactility/Source/app/AppPaths.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }