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; }