Electron v0.37.7 发布了,Electron跨平台桌面应用开发工具,基于 Web 技术。
主要改进如下:
Add
mode
option towebContents.openDevTools(options)
API.Add
openExternal
type ofpermission
parameter toSession.setPermissionRequestHandler(handler)
API.Add
process.windowsStore
property to determine whether the app is an Windows Store app.Fix random crash when accessing
devToolsWebContents.hostWebContents
.Fix
session.enableNetworkEmulation(options)
API not working.Fix
WebContents.executeJavaScript(code)
not working when called during a resource load after page is loaded.Fix after using
app.setPath
to change the location ofuserData
directory, a folder is still created at the default location.Fix occasional exception when removing a reference to a remote object.
更多平台相关改进,可参看下载链接。
下载地址:https://github.com/electron/electron/releases/tag/v0.37.7