Electron v1.6.1 发布,JavaScript桌面应用开发库

jopen 5年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/ad917897cda0683a87254de315b17e4b.png" /></strong></p>    <p> </p>    <p>Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造桌面应用。你可以把它看作是专注于桌面应用而不是 web 服务器的,io.js 的一个变体。</p>    <h2>更新日志</h2>    <ul>     <li>Node's <code>Buffer</code> class is no longer available on the <code>window</code> global when Node integration is disabled.<a href="/misc/goto?guid=4959000165769934268" title="Delete Buffer global when node integration is disabled">#8605</a></li>     <li>Fixed an issue where certain modules, like <code>coffee-script</code>, threw errors when required. <a href="/misc/goto?guid=4959000165861777748">#8618</a></li>     <li>Fixed an issue where the focused window would lose focus when an invisible window was created.<a href="/misc/goto?guid=4959000165953078425">#8676</a></li>     <li>The <code>minimumFontSize</code>, <code>defaultFontSize</code>, and <code>defaultMonospaceFontSize</code> settings can now be configured via the <code>webpreferences</code> attribute of a <code><webview></code> tag. <a href="/misc/goto?guid=4959000166058131184">#8542</a></li>     <li>Fixed a crash where the browser context did not shutdown cleanly. <a href="/misc/goto?guid=4959000166147055965">#8654</a></li>     <li>Fixed a crash on file lock verification. <a href="/misc/goto?guid=4959000166240168432">#8679</a></li>     <li>Fixed an issue where a <code>titleBarStyle</code> value of <code>hidden-inset</code> did not work on certain OS versions.<a href="/misc/goto?guid=4959000166334458754">#8619</a></li>     <li>Fixed an issue where private OS APIs were being used in the Mac App Store build causing apps to be rejected. <a href="/misc/goto?guid=4959000166426528912">#8668</a></li>     <li>Fixed the <code>scroll-touch-end</code> event not firing. <a href="/misc/goto?guid=4959000166520480105">#8673</a></li>     <li>Fixed <code>BrowserWindow.setVibrancy</code> not working on certain OS versions. <a href="/misc/goto?guid=4959000166615526269">#8717</a></li>     <li>Added a <code>app.getFileIcon(path, callback)</code> API to get the native icon for a file type. <a href="/misc/goto?guid=4959000166701562709">#7851</a></li>     <li>The callback specified to the <code>session.setCertificateVerifyProc</code> API is now provided the certificate verification result and can be rejected with any error code supported by Chrome. <a href="/misc/goto?guid=4959000166776506804">#7955</a></li>     <li>The <code>dialog.showMessageBox</code> API now supports showing a checkbox with a message in the dialog. The state of the checkbox will be provided to the callback. <a href="/misc/goto?guid=4959000166860419848" title="Add support for checkbox with dialog.showMessageBox">#8590</a></li>     <li><code>webContents</code> now emits a <code>will-attach-webview</code> event that can be used to configure the settings of a<code><webview></code> tag before it is attached. Calling <code>event.preventDefault()</code> will destroy the <code><webview></code>.<a href="/misc/goto?guid=4959000166942384705">#8584</a></li>     <li>The zoom preferences on <code>webContents</code> are now persisted in a session on a per-origin basis. <a href="/misc/goto?guid=4959000167029561822">#8537</a></li>     <li>Added support for <code>webContents.invalidate()</code> on non-offscreen pages to schedule a paint of the entire view. <a href="/misc/goto?guid=4959000167108935654">#8628</a></li>     <li><code>dialog.showSaveDialog</code> now supports <code>message</code>, <code>nameFieldLabel</code>, and <code>showsTagField</code> options. <a href="/misc/goto?guid=4959000167189105095">#8556</a></li>     <li><code>dialog.showOpenDialog</code> now supports a <code>message</code> option. <a href="/misc/goto?guid=4959000167189105095">#8556</a></li>     <li><code>dialog.showOpenDialog</code> now supports a <code>noResolveAliases</code> property to disable automatic alias (symlink) resolution. <a href="/misc/goto?guid=4959000167280616555" title="Add resolvesAliases option to openDialog">#8617</a></li>     <li>Added a <code>crashReporter.setExtraParameter</code> API to adjust the extra data sent on crashes. <a href="/misc/goto?guid=4959000167364385539">#8648</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959000167445605318" rel="nofollow"><strong>electron-api.json</strong></a></li>     <li><a href="/misc/goto?guid=4959000167526872262" rel="nofollow"><strong>electron-v1.6.1-darwin-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000167604399680" rel="nofollow"><strong>electron-v1.6.1-darwin-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000167689614835" rel="nofollow"><strong>electron-v1.6.1-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000167773098992" rel="nofollow"><strong>electron-v1.6.1-linux-arm-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000167845761522" rel="nofollow"><strong>electron-v1.6.1-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000167944113416" rel="nofollow"><strong>electron-v1.6.1-linux-armv7l-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168022091612" rel="nofollow"><strong>electron-v1.6.1-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168110630738" rel="nofollow"><strong>electron-v1.6.1-linux-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168189708081" rel="nofollow"><strong>electron-v1.6.1-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168282954129" rel="nofollow"><strong>electron-v1.6.1-linux-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168406967551" rel="nofollow"><strong>electron-v1.6.1-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168522293972" rel="nofollow"><strong>electron-v1.6.1-mas-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168622003623" rel="nofollow"><strong>electron-v1.6.1-mas-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168758148637" rel="nofollow"><strong>electron-v1.6.1-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168847814895" rel="nofollow"><strong>electron-v1.6.1-win32-ia32-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000168959591894" rel="nofollow"><strong>electron-v1.6.1-win32-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169059497269" rel="nofollow"><strong>electron-v1.6.1-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169147960888" rel="nofollow"><strong>electron-v1.6.1-win32-x64-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169244746871" rel="nofollow"><strong>electron-v1.6.1-win32-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169337389077" rel="nofollow"><strong>electron-v1.6.1-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169427722907" rel="nofollow"><strong>ffmpeg-v1.6.1-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169504866434" rel="nofollow"><strong>ffmpeg-v1.6.1-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169588996917" rel="nofollow"><strong>ffmpeg-v1.6.1-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169670402114" rel="nofollow"><strong>ffmpeg-v1.6.1-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169749246721" rel="nofollow"><strong>ffmpeg-v1.6.1-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169833654929" rel="nofollow"><strong>ffmpeg-v1.6.1-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000169921092886" rel="nofollow"><strong>ffmpeg-v1.6.1-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000170001166649" rel="nofollow"><strong>ffmpeg-v1.6.1-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4959000170089761325" rel="nofollow"><strong>SHASUMS256.txt</strong></a></li>     <li><a href="/misc/goto?guid=4959000170160579107" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959000170244858144" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/692c9486">http://www.open-open.com/news/view/692c9486</a></p>