问题描述
我发现在 HTML
、CSS
和 JavaScript
中创建桌面应用程序的选项是:
The options I've found for creating desktop applications in HTML
, CSS
, and JavaScript
are:
然而,似乎没有任何明确的实现将 meteor.js
与这些一起使用.
However, there doesn't seem to be any clear implementation for using meteor.js
with these.
我已经看到人们提出其他一些问题,但没有实施.甚至无法通过答案弄清楚我应该尝试将什么放在一起:
I've seen some other questions of people asking this, but no implementation. Can't even figure out by the answers what I should be trying to put together:
这家伙实际上让它运行了,但没有说如何:https://stackoverflow.com/questions/25508737/iron-router-routing-fails-on-reload-in-node-webkit
This guys actually got it running but doesn't say how: https://stackoverflow.com/questions/25508737/iron-router-routing-fails-on-reload-in-node-webkit
此处提出的想法很有趣——完全从网络加载桌面应用程序.但是,我希望允许我的用户离线使用该应用程序.
The idea proposed here is interesting—loading the desktop application completely from the web. However, I would like to allow my users to use the application offline.
有一个实际的实现,meteor-desktop-app,但它有对 Windows 没有明确的支持.但是,atom-shell
确实像 NW.js
一样支持 Windows.
There is an actual implementation, meteor-desktop-app, but it has no clear support for Windows. However, the atom-shell
does support Windows just as NW.js
does.
有没有人想出一个实现来允许 meteor.js
作为桌面应用程序运行?
Has anyone figured out an implementation to allow meteor.js
to operate as a desktop application?
推荐答案
如果你把代码从meteor-desktop-app 放到Electron Starter,您将免费获得 Windows + Mac + Linux,以及绝对可以用于 Real Apps 的构建系统.
If you drop the code from meteor-desktop-app into Electron Starter, you'll get Windows + Mac + Linux for free, as well as a build system you can definitely use for Real Apps.
这篇关于使用 Meteor.js 的桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!