Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pierre Kim
manateecoin
Commits
944b1526
Commit
944b1526
authored
Dec 19, 2017
by
Pierre Kim
Browse files
append
parent
6d257550
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Common/Util.cpp
View file @
944b1526
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment