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 win.webContents.loadURL.
change require("remote") to require("electron").remote
change remote.require("browser-window") to 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
towin.webContents.loadURL
.require("remote")
torequire("electron").remote
remote.require("browser-window")
toremote.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!