Skip to content

Commit

Permalink
refactor: show electron dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Oct 6, 2024
1 parent 384a629 commit 085e862
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/electron/src/menu/applicationMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const {
linkToGitHub,
linkToDocs,
linkToDiscord,
isProduction,
isMac,
releaseTag,
projectsPath,
Expand All @@ -30,6 +31,7 @@ function getApplicationMenu(askToQuit, clientUrl, serverUrl, redirectWindow, dow
makeViewMenu(clientUrl),
makeSettingsMenu(redirectWindow),
makeHelpMenu(redirectWindow),
...(isProduction ? [] : [{ label: 'Dev', submenu: [{ role: 'toggleDevTools' }] }]),
];
return Menu.buildFromTemplate(template);
}
Expand Down

0 comments on commit 085e862

Please sign in to comment.