Hiding/embedding the berkelium binary in the main app binary

58 views
Skip to first unread message

celo...@gmail.com

unread,
Dec 26, 2012, 12:10:52 PM12/26/12
to berk...@googlegroups.com
Hello list,

I've found out Berkelium needs the berkelium executable to be shipped with your application for Berkelium to work. It's a bit inconvenient because my app is self-contained, and Berkelium forces me to ship an additional executable with it. This is mainly a problem on Windows and Linux, since on OSX the berkelium executable is hidden from the end-user inside the app bundle.

Is there a way to somehow embed it inside the app executable on Windows and Linux?

Thanks in advance,

- Marcelo.

Ewen Cheslack-Postava

unread,
Jan 7, 2013, 2:59:20 PM1/7/13
to berk...@googlegroups.com
Berkelium doesn't provide any support for this and we don't plan to.
However, you can do this on your own, simply embedding the files
directly into the binary and extracting them alongside the your
application before trying to use Berkelium. You'd essentially be
making your program a self-extracting archive. If you're not sure how
to accomplish this, that'd be a good place to start googling.

Also, keep in mind that you need other files as well. Chromium wasn't
at all designed to work as a completely standalone program. Off the
top of my head, I recall locales, resources, and some .pak files being
necessary.

-Ewen
Reply all
Reply to author
Forward
0 new messages