aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-01-25 16:54:45 -0800
committerRiccardo Spagni <ric@spagni.net>2018-01-25 16:54:45 -0800
commitea75e71dd2b44aa464183a3b3e7e7ad93910a0db (patch)
treec217affc68b8143fb5663fd3c63ed4dcca8d14e8 /src/common/util.cpp
parentMerge pull request #3155 (diff)
parentRemoved unused mac-specific output folder path (diff)
downloadmonero-ea75e71dd2b44aa464183a3b3e7e7ad93910a0db.tar.xz
Merge pull request #3052
d507167f Removed unused mac-specific output folder path (Maxithi)
Diffstat (limited to 'src/common/util.cpp')
-rw-r--r--src/common/util.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp
index a4a435104..80792249c 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -453,8 +453,7 @@ std::string get_nix_version_display_string()
// namespace fs = boost::filesystem;
// Windows < Vista: C:\Documents and Settings\Username\Application Data\CRYPTONOTE_NAME
// Windows >= Vista: C:\Users\Username\AppData\Roaming\CRYPTONOTE_NAME
- // Mac: ~/Library/Application Support/CRYPTONOTE_NAME
- // Unix: ~/.CRYPTONOTE_NAME
+ // Unix & Mac: ~/.CRYPTONOTE_NAME
std::string config_folder;
#ifdef WIN32
@@ -466,15 +465,8 @@ std::string get_nix_version_display_string()
pathRet = "/";
else
pathRet = pszHome;
-#ifdef MAC_OSX
- // Mac
- pathRet /= "Library/Application Support";
- config_folder = (pathRet + "/" + CRYPTONOTE_NAME);
-#else
- // Unix
config_folder = (pathRet + "/." + CRYPTONOTE_NAME);
#endif
-#endif
return config_folder;
}