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

Remove unnecessary logging

This commit is contained in:
Junyoung Choi
2018-02-03 23:45:08 +09:00
parent 51a8c47afd
commit 39c4d710bc

View File

@@ -8,7 +8,7 @@ const _ = require('lodash')
var showMenu = process.platform !== 'win32'
const windowSize = config.get('windowsize') || { width: 1080, height: 720 }
console.log(windowSize)
const mainWindow = new BrowserWindow({
width: windowSize.width,
height: windowSize.height,
@@ -72,7 +72,6 @@ function quitApp () {
function storeWindowSize () {
try {
console.log(mainWindow.getBounds())
config.set('windowsize', mainWindow.getBounds())
} catch (e) {
// ignore any errors because an error occurs only on update