mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Remove unnecessary logging
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user