mikegedelman / atom-force

lightweight atom.io salesforce plugin
GNU General Public License v2.0
6 stars 3 forks source link

Small changes required for an upcoming Atom release #3

Closed maxbrunsfeld closed 6 years ago

maxbrunsfeld commented 8 years ago

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.

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!

mikegedelman commented 8 years ago

Whoa! Thanks a bunch for finding me and telling me!

maxbrunsfeld commented 8 years ago

Ah, I forgot. You also should replace import remote from 'remote' with import {remote} from 'electron'

mikegedelman commented 8 years ago

Word, thanks again.