Add Web Updater functionality, improved layout for small displays

This commit is contained in:
Djuri 2024-06-09 00:11:27 +02:00
parent 4f15eee72b
commit e53b487236
11 changed files with 401 additions and 92 deletions

View file

@ -41,7 +41,7 @@ jobs:
node-version: lts/*
cache: yarn
cache-dependency-path: '**/yarn.lock'
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
@ -80,6 +80,8 @@ jobs:
run: mkdir -p output && echo "$BLOCK_HEIGHT" > output/version.txt
- name: gzip build for LittleFS
run: find dist -type f ! -name ".*" -exec sh -c 'mkdir -p "build_gz/$(dirname "${1#dist/}")" && gzip -k "$1" -c > "build_gz/${1#dist/}".gz' _ {} \;
- name: Write git rev to file
run: echo "$GITHUB_SHA" > build_gz/fs_hash.txt
- name: Check GZipped directory size
run: |
# Set the threshold size in bytes