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

2016年11月18日 01:20 800 次阅读 来源: 深度开源 作者: 路人甲
摘要 Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造桌面应用。你可以把它看作是专注于桌面应用而不是 web 服务器的,io.js 的一个变体。更新日志依赖关系升级Squirrel.Mac, Electron's bundled macOS auto updater library, was upgraded to 0.3.0 which includes...

        Electron 可以让你使用纯 JavaScript 调用丰富的原生 APIs 来创造桌面应用。你可以把它看作是专注于桌面应用而不是 web 服务器的,io.js 的一个变体。



  • Squirrel.Mac, Electron's bundled macOS auto updater library, was upgraded to 0.3.0 which includes several bug fixes. The new version enables App Transport Security (ATS) on all requests it makes to the update server. This can be disabled, if needed, by adding NSAllowsArbitraryLoads to the app's plist file. #7933


  • You can now enable the macOS vibrancy effect on a BrowserWindow by callingsetVibrancy(vibrancyType) or by including a vibrancy value in the constructor options. #7898

  • You can now specify POST data when calling BrowserWindow.loadURL via the postData option. Also<form> tags configured with method=post will now make POST requests with their data when submitted. #7540

  • The certificate specified to the session.setCertificateVerifyProc callback now includes the entire certificate chain. #7917

  • The <webview> tag now supports a disableguestresize attribute that will disable automatic resizing of the guest webContents when the <webview> element resizes. You can now call setSize directly on the guest webContents to manually control the size. #7658

  • The chrome.storage.remove and chrome.storage.clear APIs are now available to DevTools extensions. #7923

Bug 修复

  • The about: protocol is now correctly supported by default. #7908

  • Menu item keyboard accelerators are now properly disabled when the menu item is disabled. #7962

  • The check for disabling ASAR support via the ELECTRON_NO_ASAR environment variable is now cached for better performance. #7978

  • Fixed a crash when calling app.setAboutPanelOptions(options) with a credits value. #7979

  • Fixed an issue where an error would be thrown in certain cases when accessing remote objects or functions. #7980

  • Fixed an issue where the window.opener API did not behave as expected.



关注下方微信公众号“Java精选”(w_z90110),回复关键词领取资料:如Mysql、Hadoop、Dubbo、Spring Boot等,免费领取视频教程、资料文档和项目源码。微信搜索小程序“Java精选面试题”,内涵3000+道Java面试题!

Java精选专注程序员推送一些Java开发知识,包括基础知识、各大流行框架(Mybatis、Spring、Spring Boot等)、大数据技术(Storm、Hadoop、MapReduce、Spark等)、数据库(Mysql、Oracle、NoSQL等)、算法与数据结构、面试专题、面试技巧经验、职业规划以及优质开源项目等。其中一部分由小编总结整理,另一部分来源于网络上优质资源,希望对大家的学习和工作有所帮助。
还可以输入136 讨论区:
评 论