Electron v1.1.2 发布了。更新如下:
更新日志:
-
Add
BrowserWindow.setIcon(icon)
API. #5624 -
Add
Session.allowNTLMCredentialsForDomains(domains)
API, and markapp.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 ofPromise
in the main process. #5666
Windows
OS X
-
Add
offsetX
parameter toBrowserWindow.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
下载地址:
其他下载地址请访问:https://github.com/electron/electron/releases