Add Store support and unsigned app releases

This commit is contained in:
Tamas Csikel
2026-10-25 14:11:49 +01:00
parent 1694cc4858
commit bcc7bc64c0
38 changed files with 12394 additions and 5 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# Builds the release assets into dist/: app.toml and <id>-<version>.tar.zst.
# Upload both files to a release of this repo; that's all the
# store needs. The CI files here do it on every tag.
#
# Build on Debian trixie (what the TV runs) or older, so the binary's glibc
# isn't newer than the TV's.
set -euo pipefail
cd "$(dirname "$0")"
cargo build --release --locked
rm -rf pkg dist
mkdir -p pkg/bin
cp app.toml pkg/
[ -f icon.png ] && cp icon.png pkg/
install -m755 target/release/hello-fennec pkg/bin/hello-fennec
sf-pack build pkg dist
sf-pack verify dist