Skip to content
Permalink
Browse files

Removed unused mac-specific output folder path

  • Loading branch information
Maxithi Maxithi
Maxithi authored and Maxithi committed Jan 4, 2018
1 parent a529f0a commit d507167fa59d7505d7d12a7c8c776380bc68fbfb
Showing with 1 addition and 9 deletions.
  1. +1 −9 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,14 +464,7 @@ 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;

0 comments on commit d507167

Please sign in to comment.
You can’t perform that action at this time.