1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

modify: add prefer-const rule and fix code

This commit is contained in:
sota1235
2017-03-10 10:12:23 +09:00
parent 7845bbd881
commit fac0abaed6
2 changed files with 4 additions and 3 deletions

View File

@@ -6,9 +6,9 @@ const Config = require('electron-config')
const config = new Config()
var showMenu = process.platform !== 'win32'
let windowSize = config.get('windowsize') || { width: 1080, height: 720 }
const windowSize = config.get('windowsize') || { width: 1080, height: 720 }
let mainWindow = new BrowserWindow({
const mainWindow = new BrowserWindow({
width: windowSize.width,
height: windowSize.height,
minWidth: 500,