Electron v1.2.7 发布了,Electron.js 是 Github 发布跨平台桌面应用开发工具,基于 Web 技术。
本次发布改进如下:
Do not show default accelerators in menus other than application menu and window menu.#6385
Add capturePage
method to WebContents
class and <webview>
tag. #6355
Add showHiddenFiles
to dialog.showOpenDialog(options)
's properties
. #6431
Add app.getLoginItemSettings()
and app.setLoginItemSettings(settings)
APIs. #6375,#6444
Add accessibility-support-changed
event and isAccessibilitySupportEnabled()
method to app
module. #6446
Fix session not saved on exit. #6411
Fix passing remote objects without constructor. #6369
Fix showing context menu and synchronous dialogs emitting unresponsive
event. #6432
Fix value becoming null
when passing the same Array for multiple times in remote
module.#6442
Fix setting maximum/minimum size overriding minimum/maximum size. #6455
Fix edit menu in context menu of devtools not showing. #6459
macOS
Fix single key accelerator not working. #6370
Fix win.setBounds(bounds)
API ignore maximum/minimum sizes. #6363
Fix the fullscreen button showing in frameless window on OS X 10.9. #6433
Fix transparent window having border on OS X 10.9. #6449
Fix crash when destroying tray icon from its context menu. #6448
Linux
Fix exception when calling console.log
after relaunch. #6412
Fix menubar not hiding after entering fullscreen. #6429
Fix crash on startup. #6466
Windows
Add thickFrame
option for BrowserWindow
. #6412
Add toolbar
to BrowserWindow
's type
. #6428
Fix transparent window not working when in maximized or fullscreen state. #6417
Fix shell.openExternal(url)
not working with non-ASCII characters. #6436
下载地址:https://github.com/electron/electron/releases/tag/v1.2.7
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
引用来自“eechen”的评论
语言水平不行呀,我说的是类似项目,不是国人项目,不要张冠李戴.包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
@eechen真的很菜,一个冒泡算法都能写如此糟糕,真的很无语:http://my.oschina.net/eechen/tweet/4105363
osc的大神 @eechen 和他的盗版作品 在知乎惨遭吊打,osc的小伙伴赶紧过去支援,传送门:https://www.zhihu.com/question/48350013 via falconchen
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
引用来自“eechen”的评论
语言水平不行呀,我说的是类似项目,不是国人项目,不要张冠李戴.包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
@eechen真的很菜,一个冒泡算法都能写如此糟糕,真的很无语:http://my.oschina.net/eechen/tweet/4105363
osc的大神 @eechen 和他的盗版作品 在知乎惨遭吊打,osc的小伙伴赶紧过去支援,传送门:https://www.zhihu.com/question/48350013 via falconchen
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
引用来自“eechen”的评论
语言水平不行呀,我说的是类似项目,不是国人项目,不要张冠李戴.包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
@eechen真的很菜,一个冒泡算法都能写如此糟糕,真的很无语:http://my.oschina.net/eechen/tweet/4105363
osc的大神 @eechen 和他的盗版作品 在知乎惨遭吊打,osc的小伙伴赶紧过去支援,传送门:https://www.zhihu.com/question/48350013 via falconchen
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
引用来自“eechen”的评论
语言水平不行呀,我说的是类似项目,不是国人项目,不要张冠李戴.包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
@eechen真的很菜,一个冒泡算法都能写如此糟糕,真的很无语:http://my.oschina.net/eechen/tweet/4105363
osc的大神 @eechen 和他的盗版作品 在知乎惨遭吊打,osc的小伙伴赶紧过去支援,传送门:https://www.zhihu.com/question/48350013 via falconchen
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
引用来自“eechen”的评论
语言水平不行呀,我说的是类似项目,不是国人项目,不要张冠李戴.包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
@eechen真的很菜,一个冒泡算法都能写如此糟糕,真的很无语:http://my.oschina.net/eechen/tweet/4105363
osc的大神 @eechen 和他的盗版作品 在知乎惨遭吊打,osc的小伙伴赶紧过去支援,传送门:https://www.zhihu.com/question/48350013 via falconchen
引用来自“愣头鸟”的评论
国人项目=>都有通病=>体积太大=>几十MB你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
包括Adobe Brakcets,因为基于libcef,安装包动辄也是30MB以上.
你的项目=>没有病=>体积不大=>几MB
so,你是哪国的?
不过类似项目都有一个通病,就是因为自带Chromium运行时,体积太大,动辄好几十MB的安装包,这个有点吃不消呀.我自己打包的用于支持PHP开发Android应用的PHPDroid,内置PHP7+Swoole+BusyBox+QRencode,APK达到5.8MB,我都觉得有点大了,本来还想去掉XML支持做到5MB以内的.
http://www.oschina.net/news/74881/phpdroid-update
除了古老项目,新的类似模式的项目基本全部都转向electron了
引用来自“uudiin”的评论
用了下,还是nwjs习惯一点引用来自“newwell”的评论
+1引用来自“卖小女孩的小火柴”的评论
+1引用来自“uudiin”的评论
用了下,还是nwjs习惯一点引用来自“newwell”的评论
+1引用来自“uudiin”的评论
用了下,还是nwjs习惯一点