-
Notifications
You must be signed in to change notification settings - Fork 274
How to run a DuckieTV Standalone for ARMv7
As you may know, the DuckieTV standalone pre-build packages that are available from the Nightly repo are built using the official NWJS run time environment, which currently only support Windows, Linux AMD and OSx.
What about ARMv7 you say?
There is a ARMv7 NWJS binary available from the community at LeonardLaszlo/nw.js-armv7-binaries
Note that this is not an official NWJS package, so it is not supported by either the NWJS or the DuckieTV teams.
-
NW.js ARMv7. Get the latest download here
-
DuckieTV Development version. Get the latest DuckieTV version at the official download site here
- Extract the DuckieTV-angular.zip archive to your favourite development directory/folder.
- and do the same for the nw*_--*.tar.gz archive.
- now copy all the files from within the nw*_--*.tar.gz folder to the DuckieTV-angular folder.
The NW.js binary can be executed on Linux ARMv7 devices with the following command:
./nw --use-gl=egl --ignore-gpu-blacklist --disable-accelerated-2d-canvas --num-raster-threads=2
Some systems are unable to load the scripts contained in standalone-background.js fast enough, leading to errors in the DuckieTV startup.
Symptoms include:
- the calendar being empty of events,
- Opening the background log (by right clicking the mouse and selecting the inspect background page menu), shows errors such as Uncaught ReferenceError: CRUD is not defined,
- and other assorted errors.
The circumvention is as follows:
- open the file standalone-background.js with a plain text editor and delete the content.
- paste and copy the contents of the following files into the standalone-background file, in the following order, separating each file paste with a semicolon
js/vendor/CRUD.js
js/vendor/CRUD.SqliteAdapter.js
js/CRUD.entities.js
js/CRUD.background.bootstrap.js
js/background.js
This will be resolved once https://github.com/nwjs/nw.js/issues/5769 is completed.
- Sorry, can't help you. The ARMv7 build is not supported by either the NWJS or the DuckieTV team. You are on your own.