From 60b7d4b12592ab09139b96409da0d5b2d29a14a8 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Wed, 19 Aug 2026 23:23:23 +0200 Subject: [PATCH] Revert setup path To avoid recursive directory creation --- Tactility/Source/app/setup/Setup.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Tactility/Source/app/setup/Setup.cpp b/Tactility/Source/app/setup/Setup.cpp index afa501b55..2045ddf02 100644 --- a/Tactility/Source/app/setup/Setup.cpp +++ b/Tactility/Source/app/setup/Setup.cpp @@ -1,5 +1,7 @@ #include +#include + #include #include #include @@ -9,7 +11,6 @@ #include #include #include -#include #include @@ -39,11 +40,11 @@ constexpr auto* TAG = "setup"; namespace { bool getCompletedMarkerPath(std::string& outPath) { - char root[128]; - if (app_paths_get_user_data_directory(manifest.id, root, sizeof(root)) != ERROR_NONE) { + char path[128]; + if (paths_get_data_path(path, sizeof(path)) != ERROR_NONE) { return false; } - outPath = std::string(root) + "/.setup_complete"; + outPath = std::string(path) + "/.setup_complete"; return true; }