1.0.3 • Published 4 years ago

desktop.player v1.0.3

Weekly downloads
5
License
ISC
Repository
github
Last release
4 years ago

desktop.player

Development

Watch mode

This will start the application with hot-reload so you can instantly start developing your application.

yarn dev

Packaging

We use Electron Builder to build and package the application. By default you can run the following to package for your current platform:

yarn dist

This will create a installer for your application in the releases folder

You can make builds for specified platform by using the options:

  • mac
  • linux
  • x64
  • ia32
  • armv7l
  • arm64

E.g. build for all platform (Windows, Mac, Linux):

yarn dist -- -mwl

Demo Tutorial:

Para poder usar la aplicación en la pantalla tenemos que:

  • Crear el directorio C:\NologisPlayer con el fichero de configuración de la parrila grids.json y la carpeta content donde tendremos las diferentes webs que el player mostrará.
  • Si tenemos el fichero NologisPlayer.zip basta con descomprimirlo y pegarlo dentro de C:\.
  • Por último deberemos de coger el fichero dist con la web que queramos que se vea e introducirlo en la ruta: C:\NologisPlayer\content\1.
  • Instalamos y arrancamos el player y debería verse la web.

    How works

  • When player is installing it create a file .nologis at the home of the machine. Inside of this directory it creates a file .nologis/playerConf where it save the id of the player and the bearer.

  • After that it check with the backend what is the grid that it has assigned and download. If there are not any grid for this player it show a default view.

  • To check if it has a content it need a bearer if does not exist a bearer in .nologis/playerConf it show a login view to register the player bearer.

  • When the player get the content it check the information and download from the urls the webs that it must show.

  • Finally it shows the webs.

Shortcuts

CommandOrControl+N+R Force close session

CommandOrControl+N+U Force next content

CommandOrControl+N+I Display the current directory UUID