mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 04:28:41 -09:00
Silently fail installation at startup. Add a menu item to manually install it with a notification feedback. Fix plugin update menu item. Fixes #2884
23 lines
445 B
JavaScript
23 lines
445 B
JavaScript
module.exports = (commands, execCommand) => {
|
|
return {
|
|
label: 'Plugins',
|
|
submenu: [
|
|
{
|
|
label: 'Update',
|
|
accelerator: commands['plugins:update'],
|
|
click() {
|
|
execCommand('plugins:update');
|
|
}
|
|
},
|
|
{
|
|
label: 'Install Hyper CLI command in PATH',
|
|
click() {
|
|
execCommand('cli:install');
|
|
}
|
|
},
|
|
{
|
|
type: 'separator'
|
|
}
|
|
]
|
|
};
|
|
};
|