Electron Releases - v1.2.6

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

Release Notes

Changelog:

  • Update to Chrome 51.0.2704.106. #6322
  • Improve performance for looking up paths in require. #6213
  • Add webContents.startDrag(item) API. #6333
  • Add clipboard.readBookmark() and clipboard.writeBookmark(title, url) APIs. #6233
  • Add onlyDirty pararmeter to webContents.beginFrameSubscription([onlyDirty ,]callback) API. #6164
  • Add app.setBadgeCount(count) and app.getBadgeCount() APIs. #6243 #6309
  • Fix did-fail-load event emitting for canceled requests. #6201
  • Fix passing the same callback to main process for multiple times will make the callback stop working after the remote callback gets GCed in main process. #6218
  • Fix Promise not resolved in native handlers of the main process. #6220
  • Fix exception when package.json includes BOM. #6354

Windows

  • Include PDB files in releases. #6225
  • Fix crash when loading non-exist ICO files. #6220
  • Fix tray.popUpContextMenu(menu) not popUpping menu when menu is not passed. #6280

Linux

  • Add app.isUnityRunning() API. #6243
  • Fix dialog.showOpenDialog() replacing extensions of filenames ending with .*.gz. #6305
  • Fix icon property of BrowserWindow not working. #6323