如何最好地部署我的 XUL 应用程序?

发布于 2024-07-13 11:12:11 字数 287 浏览 3 评论 0原文

我有一个我认为有用的 xul 应用程序,我想部署它。 目标平台是Linux; 我相信它也可以在 Windows/OSX 上运行,但尚未测试。 部署此应用程序的最佳方式是什么?

  • 使用 xpi 软件包并要求用户单独安装 xulrunner 是正确的方法吗?
  • 如果我捆绑 xulrunner,我应该将其保留在程序的本地目录中还是应该将其安装在 /usr/bin 或其他位置?

我意识到这是两个问题,但我认为它们是相关的......

谢谢, 内森

I have a xul app that I think would be useful, and I want to deploy it. The target platform is Linux; I believe it will work on Windows/OSX as well but haven't tested. What is the best way to deploy this app?

  • Is using xpi packages and requiring the user to install xulrunner separately the way to go?
  • If I bundle xulrunner, should I keep it local in my program's directory or should I install it in /usr/bin or wherever?

I realize this is two questions, but I think they're related...

Thanks,
Nathan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不必你懂 2024-07-20 11:12:11

我在 Windows 1.8 到 1.9 过渡期间部署了一个基于 XULRunner 的应用程序。 它使用 XUL,并且有一些基于 DLL 的 XPCOM 组件。 确保您拥有“开箱即用”功能的最佳方法是将所有内容(运行时和应用程序)捆绑到一个安装中。 可能会有一些重复,但考虑到已经在计算机上安装了 XULRunner 的人数,可能不值得花费精力来解决它。 它当然不适合我们(我们是 BOWMAN 套件上的第一个 XULRunner 应用程序)。 但如果您愿意,您也可以提供 xpi 作为对高级用户的礼貌。

I deployed an XULRunner based application during the 1.8 to 1.9 transition on Windows. It used XUL, and had some DLL based XPCOM components. The best way for making sure that you have something which will work 'out the box' is to bundle everything - the runtime and the application - into one install. There might be some duplication, but it's probably not worth the effort of sorting it out given the number of people who will already have XULRunner installed on their machine. It certainly wasn't for us (we were the first XULRunner app on BOWMAN kit). But you can also provide the xpi as a courtesy for advanced users, if you feel like it.

画▽骨i 2024-07-20 11:12:11

捆绑它 - 这是 Mozilla 推荐的方法(目前) - 您可以使其更加用户友好。

也许有一天,Firefox 的 xulrunner 可执行文件会与您紧密结合,您可以利用它。 但那一天不是今天。

Bundle it - that's the recommended method from Mozilla (for now) - and you can make it more user-friendly.

Perhaps someday there will be a great tie with Firefox's xulrunner executable, and you can piggy back off of it. But that day is not today.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文