我想用 javascript(使用网络技术)编写一个桌面应用程序,并寻找 Electron 和 Chrome 应用程序之间的比较.
I want to program a desktop app in javascript (with web technologies) and looked for a comparison between Electron and Chrome Apps.
我需要的一切似乎都可以通过 Chrome 应用程序实现,但是围绕 Electron/NW.js 有很大的炒作.电子的优势是什么?是不是 Node 包太多?
Everything I need seems to be possible with Chrome Apps, but there's a big hype around Electron/NW.js. What are the advantages of Electron? Is it due to the large amount of Node packages?
我认为功能差异对我来说很清楚.
I think the functional differences are clear to me.
优缺点如下:
+ Chrome Apps can run on Chrome OS
- Chrome Apps needs an installed Chrome Browser
...
正如 Eduardo 指出的那样,Google 宣布 他们将停止除 ChromeOS 之外的所有平台的 Chrome 应用程序.所以我认为这个问题的答案现在很明显了.
As Eduardo pointed out, Google announced that they'll discontinue Chrome Apps for all platforms except ChromeOS. So I think the answer to this question is obvious now.
对于所有开发了 Chrome 应用程序并有兴趣将其迁移到网络的人,这里有一份来自 Google 的指南:https://developers.chrome.com/apps/migration
或者,正如谷歌也提到的,你将它迁移到 Electron 或 NW.js.
Or, as Google also mentioned, you migrate it to Electron or NW.js.
您可以完全比较electron和chrome打包的应用程序.它们非常相似.对于他们两个,你都会得到:
You can totally compare electron and chrome packaged Apps. They are very similar. For both of them you get:
以下是区别:
Google 最近似乎在 ChromeOS 以外的任何平台上弃用了 Chrome 应用程序.所以我会说它不再是一个有效的选择.
It seems Google recently deprecated Chrome Apps on any platform other than ChromeOS. So I'd say it's no longer a valid option.
http://blog.chromium.org/2016/08/from-chrome-apps-to-web.html
这篇关于与 Electron 相比,Chrome 应用程序的优缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
在 Electron 渲染器进程中创建子窗口时如何修复How to fix BrowserWindow is not a constructor error when creating child window in Electron renderer process(在 Electron 渲染器进程中创建子窗口
mainWindow.loadURL("https://localhost:3000/") 在 EmainWindow.loadURL(quot;https://localhost:3000/quot;) show white screen on Electron app(mainWindow.loadURL(https://localhost:3000/) 在 Electron 应用程
Electron webContents executeJavaScript:无法在第二个 loaElectron webContents executeJavaScript : Cannot execute script on second on loadURL(Electron webContents executeJavaScript:无法在第二个 loadURL 上
如何在angular-cli的组件内使用电子浏览器窗口?how to use electron browser window inside components in angular-cli?(如何在angular-cli的组件内使用电子浏览器窗口?)
ElectronJS - 在 Windows 之间共享 redux 存储?ElectronJS - sharing redux store between windows?(ElectronJS - 在 Windows 之间共享 redux 存储?)
如何在电子应用程序中访问相机/网络摄像头?How to access camera/webcamera inside electron app?(如何在电子应用程序中访问相机/网络摄像头?)