service.libreelec.settings icon indicating copy to clipboard operation
service.libreelec.settings copied to clipboard

updates.py: use update-system script if available

Open antonlacon opened this issue 1 year ago • 2 comments

This changes the automatic check for updates to use /usr/bin/update-system if it's present. If not, then it falls back to asking the server for update information (current practice). update-system's output to include the checksum of the file intended to be downloaded. The addon doesn't do anything with it yet.

The other minor bits are some cleanups inside the function.

Needs https://github.com/LibreELEC/LibreELEC.tv/pull/7540 to see new behaviour.

Replaces #276.

antonlacon avatar May 19 '23 08:05 antonlacon