build: update to standard 14 (#24479)

This commit is contained in:
Samuel Attard
2020-07-09 10:18:49 -07:00
committed by GitHub
parent 9bd0fc5348
commit eb6616e4e9
37 changed files with 495 additions and 665 deletions

View File

@@ -33,8 +33,8 @@ const { app, BrowserWindow, screen } = require('electron')
let win
app.whenReady().then(() => {
let displays = screen.getAllDisplays()
let externalDisplay = displays.find((display) => {
const displays = screen.getAllDisplays()
const externalDisplay = displays.find((display) => {
return display.bounds.x !== 0 || display.bounds.y !== 0
})