This is an example app that uses Brightray.
You must previously have built and uploaded libchromiumcontent using its
script/upload
script.
$ script/bootstrap http://base.url.com/used/by/script/upload
$ script/build
This will build the app into the build
directory.
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:
tools/linux/copy-chrome-sandbox.sh
to install the sandbox. The
script must be run as root.CHROME_DEVEL_SANDBOX=/usr/lib/chromium-browser/chrome-sandbox out/Debug/brightray_example
out/Debug/brightray_example --disable-setuid-sandbox
See the LICENSE
file.