diff --git a/conftool/main.cpp b/conftool/main.cpp index 6e56531bcf28a6231254736f8513e9dc68c4feae..1d5c098c4ab37dfd08423fd6c6f93ad3df24ad99 100644 --- a/conftool/main.cpp +++ b/conftool/main.cpp @@ -114,11 +114,11 @@ std::string getNodeConfigPath(std::string basepath){ #endif #ifdef __linux__ - return "/opt/cellframe-node/"; + return "/opt/cellframe-node"; #endif #ifdef __APPLE__ - return "/Library/Application Support/CellframeNode/"; + return "/Library/Application Support/CellframeNode"; #endif @@ -130,7 +130,7 @@ std::string getNodeConfigPath(std::string basepath){ std::wstring path; GetStringRegKey(hKey, L"Common Documents", path, L""); std::string stdpath(path.begin(),path.end()); - return (std::filesystem::path{stdpath}/"cellframe-node/").string(); + return (std::filesystem::path{stdpath}/"cellframe-node").string(); #endif } diff --git a/dist/share/default.setup b/dist/share/default.setup index dd929b4c15068327fe443b27c32410418be96e6b..546d4767558a88c7c3748fe985d96a69efa60f1e 100644 --- a/dist/share/default.setup +++ b/dist/share/default.setup @@ -7,7 +7,7 @@ # Predefined variables: # ${HOST_OS} -> Linux | Windows | Macos # ${HOSTNAME} -> hostname of a machine -# ${CONFIGS_PATH} -> /opt/cellframe-node/ for linux, +# ${CONFIGS_PATH} -> /opt/cellframe-node for linux, # Common Documents (usually C:\Users\Public\Documents\cellframe-node\) for Windows # # fromtemplate: create and populate config from "share/configs" templates