mirror of
https://github.com/electron/electron.git
synced 2026-01-31 18:28:06 -05:00
https://forums.developer.apple.com/thread/4572 is the best reference I could find for this. Apple replaced (some?) dylibs with “text-based stub libraries” (.tbd’s). So we shouldn’t try to reference the dylib directly anymore.
Brightray
Brightray is a static library that makes libchromiumcontent easier to use in applications.
Using it in your app
See brightray_example for a sample application written using Brightray.
Development
Prerequisites
- Python 2.7
- Linux:
- Clang 3.0
- Mac:
- Xcode
- Windows:
- Visual Studio 2010 SP1
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
Building Brightray on its own isn’t all that interesting, since it’s just a static library. Building it into an application (like brightray_example) is the only way to test it.
License
In general, everything is covered by the LICENSE file. Some files
specify at the top that they are covered by the
LICENSE-CHROMIUM file instead.