File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
import { remote , shell } from 'electron' ;
2
2
import { autorun , computed , observable , toJS } from 'mobx' ;
3
3
4
- import { isDevMode , isMac } from '../environment' ;
4
+ import { isMac } from '../environment' ;
5
5
6
6
const { app, Menu } = remote ;
7
7
@@ -101,17 +101,15 @@ export default class FranzMenu {
101
101
_build ( ) {
102
102
const tpl = toJS ( this . tpl ) ;
103
103
104
- if ( isDevMode ) {
105
- tpl [ 1 ] . submenu . push ( {
106
- role : 'toggledevtools' ,
107
- } , {
108
- label : 'Toggle Service Developer Tools' ,
109
- accelerator : 'CmdOrCtrl+Shift+Alt+i' ,
110
- click : ( ) => {
111
- this . actions . service . openDevToolsForActiveService ( ) ;
112
- } ,
113
- } ) ;
114
- }
104
+ tpl [ 1 ] . submenu . push ( {
105
+ role : 'toggledevtools' ,
106
+ } , {
107
+ label : 'Toggle Service Developer Tools' ,
108
+ accelerator : 'CmdOrCtrl+Shift+Alt+i' ,
109
+ click : ( ) => {
110
+ this . actions . service . openDevToolsForActiveService ( ) ;
111
+ } ,
112
+ } ) ;
115
113
116
114
tpl [ 1 ] . submenu . unshift ( {
117
115
label : 'Reload Service' ,
You can’t perform that action at this time.
0 commit comments