aboutsummaryrefslogtreecommitdiff
path: root/src/app/state.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-17 00:17:34 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-17 00:18:14 +0300
commit8d4cc05be0c696db2aabca7e9995e59019a01469 (patch)
treeee9caf14c9b72c21574d599ff119b0f4533f3439 /src/app/state.rs
parent1342a76e60ff46c45dcceee689f6eed180eb0650 (diff)
feat: add homebrew update handling
refs #127
Diffstat (limited to 'src/app/state.rs')
-rw-r--r--src/app/state.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs
index 237e25a0..45473435 100644
--- a/src/app/state.rs
+++ b/src/app/state.rs
@@ -859,6 +859,7 @@ pub struct AppState {
pub context_menu: Option<ContextMenuState>,
// Notifications
pub update_available: Option<String>,
+ pub update_install_command: String,
pub latest_release_notes_available: bool,
pub update_dismissed: bool,
pub config_diagnostic: Option<String>,
@@ -1049,6 +1050,7 @@ impl AppState {
selection: None,
context_menu: None,
update_available: None,
+ update_install_command: "herdr update".into(),
latest_release_notes_available: false,
update_dismissed: false,
config_diagnostic: None,