mirror of
https://github.com/monero-project/monero.git
synced 2024-12-29 06:46:12 -05:00
core: print the "new update found" message in cyan, for visibility
This commit is contained in:
parent
749ebacebd
commit
02097c87eb
@ -1128,7 +1128,7 @@ namespace cryptonote
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
std::string url = tools::get_update_url(software, subdir, buildtag, version, true);
|
std::string url = tools::get_update_url(software, subdir, buildtag, version, true);
|
||||||
MGINFO("Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash);
|
MCLOG_CYAN(el::Level::Info, "global", "Version " << version << " of " << software << " for " << buildtag << " is available: " << url << ", SHA256 hash " << hash);
|
||||||
|
|
||||||
if (check_updates_level == UPDATES_NOTIFY)
|
if (check_updates_level == UPDATES_NOTIFY)
|
||||||
return true;
|
return true;
|
||||||
@ -1168,7 +1168,7 @@ namespace cryptonote
|
|||||||
{
|
{
|
||||||
MCERROR("updates", "Download from " << uri << " does not match the expected hash");
|
MCERROR("updates", "Download from " << uri << " does not match the expected hash");
|
||||||
}
|
}
|
||||||
MGINFO("New version downloaded to " << path);
|
MCLOG_CYAN(el::Level::Info, "updates", "New version downloaded to " << path);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user