Electron v1.6.1 發布,JavaScript桌面應用開發庫

jopen 7年前發布 | 8K 次閱讀 Electron JavaScript

 

Electron 可以讓你使用純 JavaScript 調用豐富的原生 APIs 來創造桌面應用。你可以把它看作是專注于桌面應用而不是 web 服務器的,io.js 的一個變體。

更新日志

  • Node's Buffer class is no longer available on the window global when Node integration is disabled.#8605
  • Fixed an issue where certain modules, like coffee-script, threw errors when required. #8618
  • Fixed an issue where the focused window would lose focus when an invisible window was created.#8676
  • The minimumFontSizedefaultFontSize, and defaultMonospaceFontSize settings can now be configured via the webpreferences attribute of a <webview> tag. #8542
  • Fixed a crash where the browser context did not shutdown cleanly. #8654
  • Fixed a crash on file lock verification. #8679
  • Fixed an issue where a titleBarStyle value of hidden-inset did not work on certain OS versions.#8619
  • Fixed an issue where private OS APIs were being used in the Mac App Store build causing apps to be rejected. #8668
  • Fixed the scroll-touch-end event not firing. #8673
  • Fixed BrowserWindow.setVibrancy not working on certain OS versions. #8717
  • Added a app.getFileIcon(path, callback) API to get the native icon for a file type. #7851
  • The callback specified to the session.setCertificateVerifyProc API is now provided the certificate verification result and can be rejected with any error code supported by Chrome. #7955
  • The dialog.showMessageBox API now supports showing a checkbox with a message in the dialog. The state of the checkbox will be provided to the callback. #8590
  • webContents now emits a will-attach-webview event that can be used to configure the settings of a<webview> tag before it is attached. Calling event.preventDefault() will destroy the <webview>.#8584
  • The zoom preferences on webContents are now persisted in a session on a per-origin basis. #8537
  • Added support for webContents.invalidate() on non-offscreen pages to schedule a paint of the entire view. #8628
  • dialog.showSaveDialog now supports messagenameFieldLabel, and showsTagField options. #8556
  • dialog.showOpenDialog now supports a message option. #8556
  • dialog.showOpenDialog now supports a noResolveAliases property to disable automatic alias (symlink) resolution. #8617
  • Added a crashReporter.setExtraParameter API to adjust the extra data sent on crashes. #8648

下載

本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/692c9486

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!