Zhairgling / nw.js-armv7-binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NW.js ARMv7 binaries

How to run NW.js on Linux ARMv7 devices:

./nw --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=2

You can find the step-by-step guides to build NW.js bellow:

Tutorials

Cross compilation tutorial for v0.12.x:

Cross compilation tutorial for v0.14.x:

Chrome branding (enable proprietary codecs)

Issues

With versions v0.14.x, v0.15.x, v0.16.x the shared object files located in lib directory need to be copied to /usr/lib directory.

If you don't want NW.js to store shared objects there, as an alternative, you can add the library where you store the shared objects to LD_LIBRARY_PATH environment variable, as shown below:

export LD_LIBRARY_PATH=/path/to/nwjs/nwjs-v0.15.1-linux-arm/lib:$LD_LIBRARY_PATH

If you don't want to export the environment variable everytime you reboot you device you can add the export line to the end of .bashrc file.

Thanks @gripped, @jtg-gg!

About


Languages

Language:Shell 100.0%