mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Change branding from bitcoin to elements
This commit is contained in:
parent
ade539cbb4
commit
e1cd00cc6c
39 changed files with 220 additions and 215 deletions
10
src/util.cpp
10
src/util.cpp
|
|
@ -81,8 +81,8 @@
|
|||
// Application startup time (used for uptime calculation)
|
||||
const int64_t nStartupTime = GetTime();
|
||||
|
||||
const char * const BITCOIN_CONF_FILENAME = "bitcoin.conf";
|
||||
const char * const BITCOIN_PID_FILENAME = "bitcoind.pid";
|
||||
const char * const BITCOIN_CONF_FILENAME = "elements.conf";
|
||||
const char * const BITCOIN_PID_FILENAME = "elementsd.pid";
|
||||
|
||||
ArgsManager gArgs;
|
||||
|
||||
|
|
@ -712,7 +712,7 @@ fs::path GetDefaultDataDir()
|
|||
// Unix: ~/.bitcoin
|
||||
#ifdef WIN32
|
||||
// Windows
|
||||
return GetSpecialFolderPath(CSIDL_APPDATA) / "Bitcoin";
|
||||
return GetSpecialFolderPath(CSIDL_APPDATA) / "Elements";
|
||||
#else
|
||||
fs::path pathRet;
|
||||
char* pszHome = getenv("HOME");
|
||||
|
|
@ -722,10 +722,10 @@ fs::path GetDefaultDataDir()
|
|||
pathRet = fs::path(pszHome);
|
||||
#ifdef MAC_OSX
|
||||
// Mac
|
||||
return pathRet / "Library/Application Support/Bitcoin";
|
||||
return pathRet / "Library/Application Support/Elements";
|
||||
#else
|
||||
// Unix
|
||||
return pathRet / ".bitcoin";
|
||||
return pathRet / ".elements";
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue