Added compiler flag to prevent auto-opening of DevTools (-D suppress_devtools).
This commit is contained in:
committed by
Joshua Granick
parent
49d472c278
commit
e2cf19e14c
@@ -64,7 +64,7 @@ class ElectronSetup {
|
||||
});
|
||||
|
||||
ElectronSetup.window.loadURL( 'file://' + js.Node.__dirname + '/index.html' );
|
||||
#if debug
|
||||
#if (debug && !suppress_devtools)
|
||||
ElectronSetup.window.webContents.openDevTools();
|
||||
#end
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user