ChatZilla in XULRunner

Pre-packaged

If you don't like the idea of doing your own package, there is a pre-made ChatZilla XULRunner package available - please note that it is an in-development version of ChatZilla, and should therefore be considered unfinished.

Directory Layout

To make an XUL Runner application, the following basic directory layout is used:

ChatZilla
ChatZilla/chrome
ChatZilla/chrome/icons
ChatZilla/defaults
ChatZilla/defaults/preferences

Files

A few files need to be placed into each directory, as listed below:

ChatZilla/application.ini

[App]
Vendor=Mozilla
Name=ChatZilla
Version=0.9.68.6
BuildID=2005071520
Copyright=Copyright (c) 2004 - 2005 Mozilla.org
ID={59c81df5-4b7a-477b-912d-4e0fdf64e5f2}

[Gecko]
MinVersion=1.0
MaxVersion=1.8

[Shell]
Icon=chrome/icons/chatzilla

ChatZilla/chrome/chatzilla.manifest

content chatzilla       jar:chatzilla.jar!/content/chatzilla/
skin    chatzilla       modern/1.0      jar:chatzilla.jar!/skin/modern/chatzilla/
locale  chatzilla       en-US   jar:chatzilla.jar!/locale/en-US/chatzilla/

ChatZilla/chrome/icons

In here, you need to put the .ico, .xpm and 16.xpm files from the ChatZilla XPI.

ChatZilla/defaults/preferences/chatzilla.js

pref("toolkit.defaultChromeURI", "chrome://chatzilla/content/chatzilla.xul");

pref("browser.dom.window.dump.enabled", true);
pref("javascript.options.strict", true);
pref("javascript.options.showInConsole", true);

Note: the bottom three are not really required, but make debugging much easier.

ChatZilla/chrome/chatzilla.jar

This is just a normal ChatZilla JAR - copy it from the XPI file from any source or other installation you have.

Running it

Follow the instruction when you run xulrunner on its own.

Linux

xulrunner -app path/to/ChatZilla/application.ini

Windows

xulrunner.exe -app path\to\ChatZilla\application.ini

Powered by the Content Parser System, copyright 2002 - 2009 James G. Ross.