Mac fix for HSCs
This commit is contained in:
11
src/util.cpp
11
src/util.cpp
@@ -527,7 +527,7 @@ boost::filesystem::path GetDefaultDataDir()
|
|||||||
// existing legacy directory, use that for backward compat
|
// existing legacy directory, use that for backward compat
|
||||||
return pathRet;
|
return pathRet;
|
||||||
} else {
|
} else {
|
||||||
// For new clones, use Hush/HUSH3
|
// For new clones, use Hush/ACNAME
|
||||||
pathRet = GetSpecialFolderPath(CSIDL_APPDATA) / "Hush" / symbol;
|
pathRet = GetSpecialFolderPath(CSIDL_APPDATA) / "Hush" / symbol;
|
||||||
return pathRet;
|
return pathRet;
|
||||||
}
|
}
|
||||||
@@ -562,8 +562,8 @@ boost::filesystem::path GetDefaultDataDir()
|
|||||||
// Found legacy dir, use that
|
// Found legacy dir, use that
|
||||||
return tmppath / symbol;
|
return tmppath / symbol;
|
||||||
} else {
|
} else {
|
||||||
// For new clones, use Hush/HUSH3
|
// For new clones, use Hush/ACNAME
|
||||||
tmppath = pathRet / "Hush" / "HUSH3";
|
tmppath = pathRet / "Hush" / symbol;
|
||||||
}
|
}
|
||||||
return tmppath;
|
return tmppath;
|
||||||
}
|
}
|
||||||
@@ -581,7 +581,7 @@ boost::filesystem::path GetDefaultDataDir()
|
|||||||
// existing legacy directory, use that for backward compat
|
// existing legacy directory, use that for backward compat
|
||||||
return tmppath;
|
return tmppath;
|
||||||
} else {
|
} else {
|
||||||
// For new clones, use .hush/HUSH3
|
// For new clones, use .hush/ACNAME
|
||||||
tmppath = pathRet / ".hush" / symbol;
|
tmppath = pathRet / ".hush" / symbol;
|
||||||
}
|
}
|
||||||
return tmppath;
|
return tmppath;
|
||||||
@@ -1036,8 +1036,11 @@ std::string LicenseInfo()
|
|||||||
{
|
{
|
||||||
return "\n" +
|
return "\n" +
|
||||||
FormatParagraph(strprintf(_("Copyright (C) 2016-%i Duke Leto and The Hush Developers"), COPYRIGHT_YEAR)) + "\n" +
|
FormatParagraph(strprintf(_("Copyright (C) 2016-%i Duke Leto and The Hush Developers"), COPYRIGHT_YEAR)) + "\n" +
|
||||||
|
"\n" +
|
||||||
FormatParagraph(strprintf(_("Copyright (C) 2016-2020 jl777 and SuperNET developers"))) + "\n" +
|
FormatParagraph(strprintf(_("Copyright (C) 2016-2020 jl777 and SuperNET developers"))) + "\n" +
|
||||||
|
"\n" +
|
||||||
FormatParagraph(strprintf(_("Copyright (C) 2016-2018 The Zcash developers"))) + "\n" +
|
FormatParagraph(strprintf(_("Copyright (C) 2016-2018 The Zcash developers"))) + "\n" +
|
||||||
|
"\n" +
|
||||||
FormatParagraph(strprintf(_("Copyright (C) 2009-2014 The Bitcoin Core developers"))) + "\n" +
|
FormatParagraph(strprintf(_("Copyright (C) 2009-2014 The Bitcoin Core developers"))) + "\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
FormatParagraph(_("This is experimental Free Software! Fuck Yeah!!!!!")) + "\n" +
|
FormatParagraph(_("This is experimental Free Software! Fuck Yeah!!!!!")) + "\n" +
|
||||||
|
|||||||
Reference in New Issue
Block a user