Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» add menu: restart
Browse files Browse the repository at this point in the history
  • Loading branch information
volatile-static committed Apr 4, 2024
1 parent 4895b39 commit 3638602
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/bootstrap/modules/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,10 @@ export function addDebugMenu() {
addon.reload();
},
});
addon.menu.register('menuFile', {
tag: 'menuitem',
label: 'restart',
icon: ICON_URL,
commandListener: () => Zotero.Utilities.Internal.quit(true),
});
}

0 comments on commit 3638602

Please sign in to comment.