1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
This commit is contained in:
Mike Resoli
2016-10-17 13:40:13 +01:00
parent a52cfb2cd2
commit 44d754c59d
2 changed files with 4 additions and 3 deletions

View File

@@ -190,6 +190,4 @@ var help = {
module.exports = process.platform === 'darwin'
? [boost, file, edit, view, window, help]
: process.platform === 'win32'
? [boost, file, view, help]
: [file, view, help]
: []

View File

@@ -3,11 +3,14 @@ const app = electron.app
const BrowserWindow = electron.BrowserWindow
const path = require('path')
var showMenu == process.platform == "Win32" ? false : true;
var mainWindow = new BrowserWindow({
width: 1080,
height: 720,
minWidth: 420,
minHeight: 320,
autoHideMenuBar: showMenu,
webPreferences: {
zoomFactor: 1.0,
blinkFeatures: 'OverlayScrollbars'