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 finderWindow = new BrowserWindow({
|
||||
width: 640,
|
||||
@@ -18,7 +19,7 @@ var finderWindow = new BrowserWindow({
|
||||
|
||||
var url = path.resolve(__dirname, '../browser/finder/index.html')
|
||||
|
||||
finderWindow.loadUrl('file://' + url)
|
||||
finderWindow.loadURL('file://' + url)
|
||||
|
||||
finderWindow.on('blur', function () {
|
||||
finderWindow.hide()
|
||||
|
||||
Reference in New Issue
Block a user