Skip to content

Commit

Permalink
Add menu item to relaunch Caprine (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwongtn authored Oct 18, 2020
1 parent ff22d80 commit a312084
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion source/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,17 @@ ${debugInfo()}`;
{
type: 'separator'
},
...switchItems
...switchItems,
{
type: 'separator'
},
{
label: 'Relaunch Caprine',
click() {
app.relaunch();
app.quit();
}
}
]),
{
role: 'fileMenu',
Expand Down Expand Up @@ -777,6 +787,13 @@ ${debugInfo()}`;
{
type: 'separator'
},
{
label: 'Relaunch Caprine',
click() {
app.relaunch();
app.quit();
}
},
{
role: 'quit'
}
Expand Down

0 comments on commit a312084

Please sign in to comment.