gpt4 book ai didi

javascript - 将 HTML5 应用程序作为桌面应用程序分发的解决方案?

转载 作者:IT老高 更新时间:2023-10-28 13:19:51 24 4
gpt4 key购买 nike

分发基于 HTML5 的桌面应用程序有哪些解决方案?

我希望能够将我的 HTML5 应用程序作为独立的桌面应用程序分发到 Windows、OSX 和 Linux 上。我希望人们能够双击我的应用程序图标快捷方式来运行我的程序。

我根本不希望显示浏览器窗口,只显示我的应用程序。这可能吗?

最佳答案

2014 年的 HTML5 应用

chrome/webkit 框架

  • Electron (前 Atom Shell)

    Electron is an open source library developed by GitHub for building cross-platform desktop applications with HTML, CSS, and JavaScript. Electron accomplishes this by combining Chromium and Node.js into a single runtime and apps can be packaged for Mac, Windows, and Linux. (source)

    github 上的人用它来提供他们的code editor Atom作为一个应用程序。它在官方 atom 论坛上有一个文档化的 api 和一个帮助 channel 。

  • Node-Webkit , 最小的方法

    node-webkit is an app runtime based on Chromium and node.js. You can write native apps in HTML and JavaScript with node-webkit. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies.

    英特尔支持这 (?)。有人告诉我它的边缘非常粗糙。

  • Brackets Shell , Adob​​es 代码编辑器的沙箱(和 Adob​​e Edge 的基础)

    Note: The brackets-shell is only maintained for use by the Brackets project. Although some people have definitely had success using it as an app shell for other projects, we don't provide any official support for that and we haven't done a ton of work to make the app shell easily reusable. Many people will likely find it easier to use a project like node-webkit, which is more generic by design.

    自述文件中说,但仍然有很多人这样做。

框架+工具

  • Adobe AIR ,正如另一个答案所建议的那样。

    The Adobe® AIR® runtime enables developers to package the same code into native apps for Windows and Mac OS desktops as well as iPhone, iPad, Kindle Fire, Nook Tablet, and other Android™ devices, reaching the mobile app stores for over 500 million devices.

  • Sencha是一家为应用程序开发人员销售工具的公司,包括 html5 应用程序开发和分发。

不活跃的方法

关于javascript - 将 HTML5 应用程序作为桌面应用程序分发的解决方案?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4869613/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com