mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
bump up electron version 0.34 -> 0.35.1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
var BrowserWindow = require('browser-window')
|
||||
var path = require('path')
|
||||
const electron = require('electron')
|
||||
const BrowserWindow = electron.BrowserWindow
|
||||
const path = require('path')
|
||||
|
||||
var mainWindow = new BrowserWindow({
|
||||
width: 1080,
|
||||
@@ -11,9 +12,9 @@ var mainWindow = new BrowserWindow({
|
||||
'standard-window': false
|
||||
})
|
||||
|
||||
var url = path.resolve(__dirname, '../browser/main/index.html')
|
||||
const url = path.resolve(__dirname, '../browser/main/index.html')
|
||||
|
||||
mainWindow.loadUrl('file://' + url)
|
||||
mainWindow.loadURL('file://' + url)
|
||||
|
||||
mainWindow.setVisibleOnAllWorkspaces(true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user