changed application directory to Lore

minor fix for pid
This commit is contained in:
janko33bd@gmail.com
2017-06-04 21:40:15 +02:00
parent 909906c013
commit 871ff0f19d

View File

@@ -100,7 +100,7 @@ namespace boost {
using namespace std;
const char * const BITCOIN_CONF_FILENAME = "blackcoin.conf";
const char * const BITCOIN_PID_FILENAME = "blackcoin.pid";
const char * const BITCOIN_PID_FILENAME = "blackcoind.pid";
map<string, string> mapArgs;
map<string, vector<string> > mapMultiArgs;
@@ -461,7 +461,7 @@ boost::filesystem::path GetDefaultDataDir()
// Unix: ~/.bitcoin
#ifdef WIN32
// Windows
return GetSpecialFolderPath(CSIDL_APPDATA) / "Blackcoin";
return GetSpecialFolderPath(CSIDL_APPDATA) / "Lore";
#else
fs::path pathRet;
char* pszHome = getenv("HOME");
@@ -473,10 +473,10 @@ boost::filesystem::path GetDefaultDataDir()
// Mac
pathRet /= "Library/Application Support";
TryCreateDirectory(pathRet);
return pathRet / "Blackcoin";
return pathRet / "Lore";
#else
// Unix
return pathRet / ".blackcoin";
return pathRet / ".lore";
#endif
#endif
}