File tree Expand file tree Collapse file tree
apps/desktop/src/main/platform Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,13 +125,13 @@ function buildMacOSMenu(): MenuItemConstructorOptions[] {
125125 ] ,
126126 } ;
127127
128- // Add DevTools in development
129- if ( ! app . isPackaged ) {
130- ( viewMenu . submenu as MenuItemConstructorOptions [ ] ) . push (
131- { type : 'separator' } ,
132- { label : 'Toggle Developer Tools' , role : 'toggleDevTools' }
133- ) ;
134- }
128+ // DevTools available in production too (View menu / Ctrl+Shift+I /
129+ // Cmd+Opt+I) so streaming/WebRTC connection errors can be diagnosed from
130+ // the field.
131+ ( viewMenu . submenu as MenuItemConstructorOptions [ ] ) . push (
132+ { type : 'separator' } ,
133+ { label : 'Toggle Developer Tools' , role : 'toggleDevTools' }
134+ ) ;
135135
136136 const windowMenu : MenuItemConstructorOptions = {
137137 label : 'Window' ,
@@ -230,13 +230,13 @@ function buildDefaultMenu(): MenuItemConstructorOptions[] {
230230 ] ,
231231 } ;
232232
233- // Add DevTools in development
234- if ( ! app . isPackaged ) {
235- ( viewMenu . submenu as MenuItemConstructorOptions [ ] ) . push (
236- { type : 'separator' } ,
237- { label : 'Toggle Developer Tools' , role : 'toggleDevTools' }
238- ) ;
239- }
233+ // DevTools available in production too (View menu / Ctrl+Shift+I /
234+ // Cmd+Opt+I) so streaming/WebRTC connection errors can be diagnosed from
235+ // the field.
236+ ( viewMenu . submenu as MenuItemConstructorOptions [ ] ) . push (
237+ { type : 'separator' } ,
238+ { label : 'Toggle Developer Tools' , role : 'toggleDevTools' }
239+ ) ;
240240
241241 const helpMenu : MenuItemConstructorOptions = {
242242 label : 'Help' ,
You can’t perform that action at this time.
0 commit comments