Skip to content

How to run a DuckieTV Standalone for ARMv7

garfield69 edited this page Apr 21, 2021 · 6 revisions

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.

Pre requisites:

Extracting the archives

  • 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.

Start up DuckieTV

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


ALERT

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.


Problems?

  • Sorry, can't help you. The ARMv7 build is not supported by either the NWJS or the DuckieTV team. You are on your own.
Clone this wiki locally