aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.cpp
diff options
context:
space:
mode:
authorMaxithi <34792056+Maxithi@users.noreply.github.com>2018-01-04 10:05:14 +0100
committerMaxithi <34792056+Maxithi@users.noreply.github.com>2018-01-04 21:16:44 +0100
commitd507167fa59d7505d7d12a7c8c776380bc68fbfb (patch)
treeb4af8ada174a8ef9aef0413d175e0c608f441e7a /src/common/util.cpp
parentMerge pull request #3019 (diff)
downloadmonero-d507167fa59d7505d7d12a7c8c776380bc68fbfb.tar.xz
Removed unused mac-specific output folder path
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 2a2f50c4f..10890afa4 100644
--- a/src/common/util.cpp
+++ b/src/common/util.cpp
@@ -452,8 +452,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
@@ -465,15 +464,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;
}