如何使用XULRunner在Mac OS X Lion的Firefox之外运行SQLite Manager? [英] How to use XULRunner to run SQLite Manager outside of Firefox in Mac OS X Lion?
问题描述
我从这里安装了XULRunner 11.0(xr):
下载 - sqlite-manager - 扩展Firefox和其他应用程序来管理任何sqlite数据库 - Google Project Hosting
我已经按照这里列出的步骤:
kiveo - Mac SQLite Manager独立应用程序
我已经阅读并尝试了这里的建议(尽管它们的版本6.0):
我能够获得帮助列出这个命令: 我是ab使用此命令(在将sqlitemanager-xr-0 / application.ini中的最大版本从11.0a1更改为11.0之后)从Firefox运行应用程序: 以下是application.ini文件的内容: 当我在终端中运行以下命令时,返回到命令提示符。没有错误消息。应用程序下不显示应用程序似乎没有任何事情发生。 (而且,尽管上面的stackoverflow页面指出--install-app可能不是真的被支持,它在XULRunner的帮助列表中 - 我猜这不一定意味着它会起作用;) 按照下面的建议,我检查了一个退出代码。 帮助? 就像你用Firefox做的那样,这个命令应该运行你的应用程序: 此外, I have installed XULRunner 11.0 (xr) from here: 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: 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): Here are the contents of the application.ini file: 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 ;) 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: Also, the 这篇关于如何使用XULRunner在Mac OS X Lion的Firefox之外运行SQLite Manager?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
/Library/Frameworks/XUL.framework/xulrunner-bin -h
code>
/Applications/Firefox.app/Contents/MacOS/firefox --app〜/ Downloads / sqlitemanager -xr-0 / 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
/Library/Frameworks/XUL.framework/xulrunner-bin --install-app下载/ sqlitemanager-xr-0 / /应用程序
/Library/Frameworks/XUL.framework/xulrunner-bin --app〜/ Downloads / sqlitemanager -xr-0 / application.ini
- app
开关在XULRunner中是可选的。/Library/Frameworks/XUL.framework/xulrunner-bin -h
/Applications/Firefox.app/Contents/MacOS/firefox --app ~/Downloads/sqlitemanager-xr-0/application.ini
[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
/Library/Frameworks/XUL.framework/xulrunner-bin --install-app Downloads/sqlitemanager-xr-0/ /Applications
/Library/Frameworks/XUL.framework/xulrunner-bin --app ~/Downloads/sqlitemanager-xr-0/application.ini
--app
switch is optional within XULRunner.