Skip to content
Build xulrunner applications and extensions with narwhal
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
meta/transport-program
packages
programs
.gitignore
README.md
package.json

README.md

NarwhalRunner

NarwhalRunner is a toolkit for building XULRunner applications and extensions with Narwhal.

Setup

Requirements

  • Firefox 3.5+
  • PINF (NOTE: There is no release for PINF yet. Will be coming very soon.).

You are on:

  • Mac OS X - fully tested
  • UNIX - should be working
  • Windows - not tested, PINF will only work on windows OSs that support symlinks

Instructions

Checkout the narwhalrunner workspace and switch to it:

pinf checkout-workspace -s github.com/cadorn/narwhalrunner

Add firefox binary

nr add-bin /Applications/Firefox.app/Contents/MacOS/firefox-bin

Create test profile

nr create-profile --dev test
nr populate-profile test

Demo: test-firefox-extension

Add test extension to profile

nr add-extension -l --profile test packages/test-firefox-extension

Launch test profile

nr launch --dev --profile test

Demo: test-application

Build the test application

pinf build-program packages/test-application

Launch the test application

nr launch --dev --program packages/test-application

Examples

You can find more sample applications and extensions in the narwhalrunner-examples project.

Preferences

extensions.XXX.NR_forceReloadDynamicProtocolResources: [true|false]

Links

License

MIT License

Copyright (c) 2009-2010 Christoph Dorn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.