如何使用XULRunner在Mac OS X Lion的Firefox之外运行SQLite Manager? [英] How to use XULRunner to run SQLite Manager outside of Firefox in Mac OS X Lion?

查看:207
本文介绍了如何使用XULRunner在Mac OS X Lion的Firefox之外运行SQLite Manager?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从这里安装了XULRunner 11.0(xr):

下载 - sqlite-manager - 扩展Firefox和其他应用程序来管理任何sqlite数据库 - Google Project Hosting



我已经按照这里列出的步骤:

kiveo - Mac SQLite Manager独立应用程序



我已经阅读并尝试了这里的建议(尽管它们的版本6.0):



我能够获得帮助列出这个命令:

  /Library/Frameworks/XUL.framework/xulrunner-bin -h 
code>

我是ab使用此命令(在将sqlitemanager-xr-0 / application.ini中的最大版本从11.0a1更改为11.0之后)从Firefox运行应用程序:

  /Applications/Firefox.app/Contents/MacOS/firefox --app〜/ Downloads / sqlitemanager -xr-0 / application.ini 

以下是application.ini文件的内容:

  [ App] 
Name = sqlite-manager
ID=SQLiteManager@mrinalkant.blogspot.com
版本= 0.7.7
BuildID = 201111132204
Vendor = lazierthanthou
版权= Copyright(c)2008 - 2011 lazierthanthou

[Gecko]
MinVersion = 2.0
MaxVersion = 11.0
$ b $ [XRE]
EnableExtensionManager = 1

当我在终端中运行以下命令时,返回到命令提示符。没有错误消息。应用程序下不显示应用程序似乎没有任何事情发生。 (而且,尽管上面的stackoverflow页面指出--install-app可能不是真的被支持,它在XULRunner的帮助列表中 - 我猜这不一定意味着它会起作用;)

  /Library/Frameworks/XUL.framework/xulrunner-bin --install-app下载/ sqlitemanager-xr-0 / /应用程序

按照下面的建议,我检查了一个退出代码。

帮助?

解决方案

就像你用Firefox做的那样,这个命令应该运行你的应用程序:

  /Library/Frameworks/XUL.framework/xulrunner-bin --app〜/ Downloads / sqlitemanager -xr-0 / application.ini 

此外, - app 开关在XULRunner中是可选的。


I have installed XULRunner 11.0 (xr) from here:

Downloads - sqlite-manager - Extension for Firefox and other apps to manage any sqlite database - Google Project Hosting

I have followed the steps listed here:

kiveo - Mac SQLite Manager Standalone App

I have read and tried the suggestions here (though they're for version 6.0):

stackoverflow: How to Install and run a XulRunner Application on Mac OS X?

I am able to get the help listing with this command:

/Library/Frameworks/XUL.framework/xulrunner-bin -h

I am able to run the app from Firefox using this command (after changing the max version in sqlitemanager-xr-0/application.ini to 11.0 from 11.0a1):

/Applications/Firefox.app/Contents/MacOS/firefox --app ~/Downloads/sqlitemanager-xr-0/application.ini

Here are the contents of the application.ini file:

[App]
Name=sqlite-manager
ID=SQLiteManager@mrinalkant.blogspot.com
Version=0.7.7
BuildID=201111132204
Vendor=lazierthanthou
Copyright=Copyright (c) 2008 - 2011 lazierthanthou

[Gecko]
MinVersion=2.0
MaxVersion=11.0

[XRE]
EnableExtensionManager=1

When I run the following command in Terminal, with or without sudo, it just immediately returns to the command prompt. There are no error messages. No application appears under Applications. Nothing seems to happen at all. (And, despite the stackoverflow page above noting that --install-app may not really be supported, it is in the XULRunner help listing - which I guess doesn't necessarily mean it'll work ;)

/Library/Frameworks/XUL.framework/xulrunner-bin --install-app Downloads/sqlitemanager-xr-0/ /Applications

Following a suggestion below, I checked for an exit code. The line above is returning 2.

Help?

解决方案

Just like you did with Firefox, this command should run your app:

/Library/Frameworks/XUL.framework/xulrunner-bin --app ~/Downloads/sqlitemanager-xr-0/application.ini

Also, the --app switch is optional within XULRunner.

这篇关于如何使用XULRunner在Mac OS X Lion的Firefox之外运行SQLite Manager?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆