Electron v0.37.8 发布,跨平台桌面应用开发工具
jopen 8年前
<p>Electron v0.37.8 发布了,Electron跨平台桌面应用开发工具,基于 Web 技术。</p> <p><img alt="Electron v0.37.8 发布,跨平台桌面应用开发工具" src="https://simg.open-open.com/show/48d927b5ffe602d69ee7a4c8d9b9f531.jpg" /></p> <p>主要改进如下:</p> <ul> <li> <p>Disable node integration in webview when it is disabled in host page. <a href="/misc/goto?guid=4958990161005101609">#5244</a></p> </li> <li> <p>Make sure the <code>userData</code> directory is created during the <code>ready</code> event of <code>app</code> module. <a href="/misc/goto?guid=4958990161126177745">#5340</a></p> </li> <li> <p>Throw error when <code>autoUpdater.quitAndInstall()</code> is called while there is no update. <a href="/misc/goto?guid=4958990161240004066">#5287</a></p> </li> <li> <p>Add <code>systemPreferences</code> module. <a href="/misc/goto?guid=4958990161359176443">#5282</a></p> </li> <li> <p>Add <code>app.isDefaultProtocolClient(protocol)</code> API. <a href="/misc/goto?guid=4958990161476468078">#5302</a></p> </li> <li> <p>Fix occasional crash when doing GC. <a href="/misc/goto?guid=4958990161590331420">#5293</a></p> </li> <li> <p>Fix <code>app.makeSingleInstance(callback)</code> wrongly returning <code>true</code> on first launch. <a href="/misc/goto?guid=4958990161714028497">#5311</a></p> </li> <li> <p>Fix <code>will-download</code> event not emitted for HTML pages. <a href="/misc/goto?guid=4958990161837784802">#5315</a></p> </li> <li> <p>Fix crash when navigating to a new location after downloading failed. <a href="/misc/goto?guid=4958990161837784802">#5315</a></p> </li> <li> <p>Fix <code>webContents.executeJavaScript</code> not working after being called immediately after <code>loadURL</code>.<a href="/misc/goto?guid=4958990161971800384">#5319</a></p> </li> <li> <p>Fix <code>desktopCapturer.getSources</code> not responding when there is subsequent calls with different arguments. <a href="/misc/goto?guid=4958990162078151036">#5320</a></p> </li> </ul> <p>OS X</p> <ul> <li> <p>Fix the <code>Command Plus</code> accelerator appearing as <code>Shift Command =</code> in menu. <a href="/misc/goto?guid=4958990162190361213">#5298</a></p> </li> </ul> <p>Windows</p> <ul> <li> <p>Fix <code>display-removed</code> event not working. <a href="/misc/goto?guid=4958990162321521162">#5334</a></p> </li> </ul> <p>更多平台相关改进,可参看下载链接。</p> <p>下载地址:<a href="/misc/goto?guid=4958990162439849756">https://github.com/electron/electron/releases/tag/v0.37.8</a></p> <p>来自: http://www.oschina.net//news/73017/electron-v-0-37-8</p>