Skip to content

Commit d4f9cef

Browse files
committed
Remove dev tools
1 parent 54a7ce1 commit d4f9cef

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,6 @@ function createSyncPreferencesWindow () {
641641
sandbox: false
642642
}
643643
})
644-
syncPreferencesWin.webContents.openDevTools()
645644
syncPreferencesWin.webContents.loadURL(syncPreferencesUrl)
646645

647646
syncPreferencesWin.once('closed', () => {
@@ -787,7 +786,6 @@ function startMicrobreak () {
787786
// seems to help with multiple-displays problems
788787
microbreakWinLocal.setSize(windowOptions.width, windowOptions.height)
789788

790-
// microbreakWinLocal.webContents.openDevTools()
791789
microbreakWinLocal.once('ready-to-show', () => {
792790
log.info('Stretchly: ready-to-show fired')
793791
})
@@ -936,7 +934,7 @@ function startBreak () {
936934
let breakWinLocal = new BrowserWindow(windowOptions)
937935
// seems to help with multiple-displays problems
938936
breakWinLocal.setSize(windowOptions.width, windowOptions.height)
939-
// breakWinLocal.webContents.openDevTools()
937+
940938
breakWinLocal.once('ready-to-show', () => {
941939
log.info('Stretchly: ready-to-show fired')
942940
})
@@ -1573,7 +1571,6 @@ ipcMain.on('open-contributor-auth', function (event, provider) {
15731571
sandbox: false
15741572
}
15751573
})
1576-
myStretchlyWin.webContents.openDevTools()
15771574
myStretchlyWin.webContents.loadURL(myStretchlyUrl)
15781575

15791576
myStretchlyWin.once('closed', () => {

0 commit comments

Comments
 (0)