updated electron@0.35 : replaced deprecated API calls

This commit is contained in:
jean-emmanuel 2015-11-17 20:38:31 +01:00
parent 14db35a213
commit c9fa8b97f5
3 changed files with 8 additions and 8 deletions

View file

@ -7,7 +7,7 @@ var app = require('app')
, osc = require('node-osc')
, fs = require('fs')
, vm = require('vm')
, ipc = require('ipc')
, ipc = require('ipc-main')
, window = null
@ -102,7 +102,7 @@ if (!settings.noGui) {
'background-color':'#1a1d22'
})
window.loadUrl('file://' + __dirname + '/../browser/index.html')
window.loadURL('file://' + __dirname + '/../browser/index.html')
window.on('closed', function() {
window = null