Electron Releases - v1.1.2

npm install electron@v1.1.2
yarn add electron@v1.1.2

Release Notes

Changelog:

  • Add BrowserWindow.setIcon(icon) API. #5624
  • Add Session.allowNTLMCredentialsForDomains(domains) API, and mark app.allowNTLMCredentialsForDomains(domains) as deprecated. #5638
  • Fix error description of did-fail-load event being empty. #5634
  • Fix require('electron') being able to be overridden by npm modules. #5662
  • Fix remote module not handling rejection of Promise in the main process. #5666

Windows

  • Improve icon resolution when using ICO icons. #5624
  • Fix crashReporter not working. #5646

OS X

  • Add offsetX parameter to BrowserWindow.setSheetOffset(offsetY[, offsetX]) API. #5603
  • Fix the usages of private APIs in MAS build. electron/libchromiumcontent#212
  • Fix BrowserWindow.setAspectRatio(ratio) not correctly implemented. #5644

Linux

  • Fix the binary of ffmpeg not stripped. #5668