changed application directory to Lore
minor fix for pid
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user