From 77819797385c5538f624a8881208921342911db0 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sun, 31 May 2026 03:02:45 +0300 Subject: fix: clarify update restart guidance --- src/app/api.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/app/api.rs') diff --git a/src/app/api.rs b/src/app/api.rs index d8224506..1442012b 100644 --- a/src/app/api.rs +++ b/src/app/api.rs @@ -152,10 +152,8 @@ impl App { }; if let Some((version, install_command)) = update_ready { - let _ = notify( - &format!("v{version} available"), - Some(&format!("detach, then run `{install_command}`")), - ); + let instruction = crate::update::update_install_instruction(&install_command); + let _ = notify(&format!("v{version} available"), Some(&instruction)); } else { for update in &pane_updates { let is_active_tab = self -- cgit v1.2.3