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

jopen 6年前
   <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>    <p> </p>    <h2>更新日志</h2>    <h3>Bug 修复</h3>    <ul>     <li>The error thrown when a missing remote object is accessed now includes the id of the object and the name of the property being accessed or method being called. <a href="/misc/goto?guid=4958995637015971019">#8003</a></li>    </ul>    <ul>     <li>Fixed an issue where the window would restore to the incorrect size when <code>minWidth</code> was used.<a href="/misc/goto?guid=4958995637099211084">#8047</a></li>    </ul>    <ul>     <li>Fixed an issue where <code>systemPreferences.getUserDefault</code> would crash when requesting a value as an array or dictionary. <a href="/misc/goto?guid=4958995637197797155" title="Prevent systemPreferences.getUserDefault crash for missing arrays/dictionaries">#7993</a></li>    </ul>    <h3>API更改</h3>    <ul>     <li>The implementation of <code>chrome.runtime.onMessage</code> used by dev tools extensions now supports a response callback parameter. <a href="/misc/goto?guid=4958995637280343787">#7974</a></li>     <li><code>toggledevtools</code> and <code>reload</code> are now supported menu item roles. <a href="/misc/goto?guid=4958995637375838237">#7981</a></li>     <li>Added a <code>setLayoutZoomLevelLimits</code> method to <code>webFrame</code>, <code>webContents</code>, and <code><webview></code> that can be used to set the layout-based zoom level limits of a page. The <code>setZoomLevelLimits</code> API has been deprecated and renamed to <code>setVisualZoomLeveLimits</code> to control the pinch-to-zoom level.<code>setZoomLevelLimits</code> will be completely removed in Electron 2.0. <a href="/misc/goto?guid=4958995637457330158">#8041</a></li>    </ul>    <h3>macOS</h3>    <ul>     <li><code>shell.openExternal</code> is now asynchronous if the final specified argument is a callback function.<a href="/misc/goto?guid=4958995637538704511">#7612</a></li>     <li>A <code>zoomToPageWidth</code> option was added to the <code>BrowserWindow</code> constructor that controls how the window resizes when running the Window > Zoom menu item or when option-clicking the green stoplight toolbar button. <a href="/misc/goto?guid=4958995637630657842">#7776</a></li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958995637716939678" rel="nofollow"><strong>electron-api.json</strong></a></li>     <li><a href="/misc/goto?guid=4958995637807431755" rel="nofollow"><strong>electron-v1.4.8-darwin-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995637895111016" rel="nofollow"><strong>electron-v1.4.8-darwin-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995637986543609" rel="nofollow"><strong>electron-v1.4.8-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638070632549" rel="nofollow"><strong>electron-v1.4.8-linux-arm-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638151576911" rel="nofollow"><strong>electron-v1.4.8-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638246404026" rel="nofollow"><strong>electron-v1.4.8-linux-armv7l-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638330802386" rel="nofollow"><strong>electron-v1.4.8-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638408488850" rel="nofollow"><strong>electron-v1.4.8-linux-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638507782363" rel="nofollow"><strong>electron-v1.4.8-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638588683865" rel="nofollow"><strong>electron-v1.4.8-linux-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638681082810" rel="nofollow"><strong>electron-v1.4.8-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638761863624" rel="nofollow"><strong>electron-v1.4.8-mas-x64-dsym.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638855706871" rel="nofollow"><strong>electron-v1.4.8-mas-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995638943302410" rel="nofollow"><strong>electron-v1.4.8-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639021010117" rel="nofollow"><strong>electron-v1.4.8-win32-ia32-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639107146380" rel="nofollow"><strong>electron-v1.4.8-win32-ia32-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639197916353" rel="nofollow"><strong>electron-v1.4.8-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639288426556" rel="nofollow"><strong>electron-v1.4.8-win32-x64-pdb.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639386913494" rel="nofollow"><strong>electron-v1.4.8-win32-x64-symbols.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639466848812" rel="nofollow"><strong>electron-v1.4.8-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639554617624" rel="nofollow"><strong>ffmpeg-v1.4.8-darwin-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639637093586" rel="nofollow"><strong>ffmpeg-v1.4.8-linux-arm.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639723898110" rel="nofollow"><strong>ffmpeg-v1.4.8-linux-armv7l.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639815337400" rel="nofollow"><strong>ffmpeg-v1.4.8-linux-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639908281029" rel="nofollow"><strong>ffmpeg-v1.4.8-linux-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995639992702608" rel="nofollow"><strong>ffmpeg-v1.4.8-mas-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995640064239486" rel="nofollow"><strong>ffmpeg-v1.4.8-win32-ia32.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995640156246090" rel="nofollow"><strong>ffmpeg-v1.4.8-win32-x64.zip</strong></a></li>     <li><a href="/misc/goto?guid=4958995640238551853" rel="nofollow"><strong>SHASUMS256.txt</strong></a></li>     <li><a href="/misc/goto?guid=4958995640323712264" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958995640408151339" 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/56af657">http://www.open-open.com/news/view/56af657</a></p>