Skip to main content

update_notification

Function update_notification 

Source
pub fn update_notification(info: &UpdateInfo) -> Option<(String, String)>
Expand description

Title + body for the “update available” desktop notification, or None when there’s nothing to announce (already on the latest build). Pure so the copy and the no-update guard are unit-tested without a live updater or the notification plugin.