Commit 944b1526 authored by Pierre Kim's avatar Pierre Kim

append

parent 6d257550
......@@ -339,21 +339,6 @@ std::string get_nix_version_display_string()
#ifdef WIN32
// Windows
config_folder = get_special_folder_path_w(CSIDL_APPDATA, true) + L"\\manateecoin";
#else
std::string pathRet;
char* pszHome = getenv("HOME");
if (pszHome == NULL || strlen(pszHome) == 0)
pathRet = "/";
else
pathRet = pszHome;
#ifdef MAC_OSX
// Mac
pathRet /= "Library/Application Support";
config_folder = (pathRet + "/" + CryptoNote::CRYPTONOTE_NAME);
#else
// Unix
config_folder = (pathRet + "/." + CryptoNote::CRYPTONOTE_NAME);
#endif
#endif
return config_folder;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment