Merge pull request #6002 from BOINC/dpa_release_notes

client: on version change, show notice with link to release notes
This commit is contained in:
Vitalii Koshura 2025-01-10 22:46:04 +01:00 committed by GitHub
commit 627e344522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -422,12 +422,13 @@ bool CLIENT_STATE::is_new_client() {
|| (core_client_version.minor != old_minor_version)
|| (core_client_version.release != old_release)
) {
msg_printf(NULL, MSG_INFO,
"Version change (%d.%d.%d -> %d.%d.%d)",
msg_printf_notice(0, true, 0,
"The BOINC client version has changed from %d.%d.%d to %d.%d.%d.<br>To see what's new, view the <a href=%s>Client release notes</a>.",
old_major_version, old_minor_version, old_release,
core_client_version.major,
core_client_version.minor,
core_client_version.release
core_client_version.release,
"https://github.com/BOINC/boinc/wiki/Client-release-notes"
);
new_client = true;
}