mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 10:16:26 +00:00
Remove unnecessary logging
This commit is contained in:
@@ -8,7 +8,7 @@ const _ = require('lodash')
|
|||||||
|
|
||||||
var showMenu = process.platform !== 'win32'
|
var showMenu = process.platform !== 'win32'
|
||||||
const windowSize = config.get('windowsize') || { width: 1080, height: 720 }
|
const windowSize = config.get('windowsize') || { width: 1080, height: 720 }
|
||||||
console.log(windowSize)
|
|
||||||
const mainWindow = new BrowserWindow({
|
const mainWindow = new BrowserWindow({
|
||||||
width: windowSize.width,
|
width: windowSize.width,
|
||||||
height: windowSize.height,
|
height: windowSize.height,
|
||||||
@@ -72,7 +72,6 @@ function quitApp () {
|
|||||||
|
|
||||||
function storeWindowSize () {
|
function storeWindowSize () {
|
||||||
try {
|
try {
|
||||||
console.log(mainWindow.getBounds())
|
|
||||||
config.set('windowsize', mainWindow.getBounds())
|
config.set('windowsize', mainWindow.getBounds())
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// ignore any errors because an error occurs only on update
|
// ignore any errors because an error occurs only on update
|
||||||
|
|||||||
Reference in New Issue
Block a user