Add application menu item for checking for updates
This commit is contained in:
parent
9c469f2fdb
commit
fb2caf3c58
3 changed files with 13 additions and 0 deletions
|
@ -13,6 +13,11 @@ pub fn menus(state: &Arc<AppState>) -> Vec<Menu<'static>> {
|
|||
keystroke: None,
|
||||
action: Box::new(super::About),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Check for Updates",
|
||||
keystroke: None,
|
||||
action: Box::new(super::CheckForUpdates),
|
||||
},
|
||||
MenuItem::Separator,
|
||||
MenuItem::Action {
|
||||
name: "Quit",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue