Browse Source

Mac fix for HSCs

dev-mac
fekt 2 years ago
parent
commit
66411537dd
  1. 11
      src/util.cpp

11
src/util.cpp

@ -527,7 +527,7 @@ boost::filesystem::path GetDefaultDataDir()
// existing legacy directory, use that for backward compat
return pathRet;
} else {
// For new clones, use Hush/HUSH3
// For new clones, use Hush/ACNAME
pathRet = GetSpecialFolderPath(CSIDL_APPDATA) / "Hush" / symbol;
return pathRet;
}
@ -562,8 +562,8 @@ boost::filesystem::path GetDefaultDataDir()
// Found legacy dir, use that
return tmppath / symbol;
} else {
// For new clones, use Hush/HUSH3
tmppath = pathRet / "Hush" / "HUSH3";
// For new clones, use Hush/ACNAME
tmppath = pathRet / "Hush" / symbol;
}
return tmppath;
}
@ -581,7 +581,7 @@ boost::filesystem::path GetDefaultDataDir()
// existing legacy directory, use that for backward compat
return tmppath;
} else {
// For new clones, use .hush/HUSH3
// For new clones, use .hush/ACNAME
tmppath = pathRet / ".hush" / symbol;
}
return tmppath;
@ -1036,8 +1036,11 @@ std::string LicenseInfo()
{
return "\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" +
"\n" +
FormatParagraph(strprintf(_("Copyright (C) 2016-2018 The Zcash developers"))) + "\n" +
"\n" +
FormatParagraph(strprintf(_("Copyright (C) 2009-2014 The Bitcoin Core developers"))) + "\n" +
"\n" +
FormatParagraph(_("This is experimental Free Software! Fuck Yeah!!!!!")) + "\n" +

Loading…
Cancel
Save