electron-archive / brightray_example

An example application using Brightray
MIT License
27 stars 15 forks source link

Brightray Example

This is an example app that uses Brightray.

Development

Prerequisites

One-time setup

You must previously have built and uploaded libchromiumcontent using its script/upload script.

$ script/bootstrap http://base.url.com/used/by/script/upload

Building

$ script/build

This will build the app into the build directory.

Running

Run out/Debug/brightray_example

On Linux, you'll need libchromiumcontent.so in your library path. Run this first: export LD_LIBRARY_PATH=$PWD/vendor/brightray/vendor/download/libchromiumcontent/Release

On Linux, you'll also need to copy the Chrome SUID sandbox or explicitly run without it. Any of these three choices should work:

License

See the LICENSE file.