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

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

 

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

更新日志

Bug 修復

  • Fixed a crash when calling preventDefault() on a new-window event for a sandboxed window. #8377
  • Fixed the dev tools not opening when a debugger was already attached. #8390
  • Pulled in an upstream Chrome patch to fix an issue where certain webm videos would not play. #8428

Windows

  • Fixed incorrect window borders being rendered when the OS zoom level was greater than 100%. #8404
  • Fixed a regression where transparent windows wouldn't be transparent when the window was fullscreen. #8438

macOS

  • Fixed the window leaving fullscreen mode incorrectly when kiosk mode was disabled. #8399

New APIs

  • Added a contextIsolation option to BrowserWindow and <webview> tags that loads the preloadscript and Electron APIs into a separate JavaScript context that is isolated from the main page's JavaScript context. #8348
  • The <webview> element now emits the context-menu event from the underlying webContents object.

下載

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

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