Hi! Atom will soon be upgrading to a new version of Electron, which will cause some APIs to change.
You'll need to:
change this usage of BrowserWindow.prototype.loadUrl to this.window.webContents.loadURL.
change require("ipc") with require("electron").ipcRenderer
change require("remote") with require("electron").remote
change remote.require("browser-window") with remote.BrowserWindow
There may be other similar small changes required. See this post on the electron blog for more information. And let me know if you need any additional help. Thanks!
Hi! Atom will soon be upgrading to a new version of Electron, which will cause some APIs to change.
You'll need to:
BrowserWindow.prototype.loadUrl
tothis.window.webContents.loadURL
.require("ipc")
withrequire("electron").ipcRenderer
require("remote")
withrequire("electron").remote
remote.require("browser-window")
withremote.BrowserWindow
There may be other similar small changes required. See this post on the electron blog for more information. And let me know if you need any additional help. Thanks!