diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 36c0ae2..bca7164 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -1,8 +1,7 @@ # On a tag (v1.2.3): build inside a SmartFox checkout (sf-ui lives there), -# sign, and publish a release with the three store assets. +# publish a release with the two store assets. # # Secrets: -# SF_SIGNING_KEY base64 of key.pem on one line (base64 -w0 key.pem) # SMARTFOX_TOKEN read access to bluefox/fox-in-the-box (it is private) name: release on: @@ -25,9 +24,7 @@ jobs: git clone --depth 1 "https://oauth2:${{ secrets.SMARTFOX_TOKEN }}@${SMARTFOX_REPO}.git" work git clone --depth 1 --branch "$GITHUB_REF_NAME" \ "${GITHUB_SERVER_URL%%://*}://oauth2:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#*://}/${GITHUB_REPOSITORY}.git" work/apps/netflex-tv - - name: Build and sign - env: - SF_SIGNING_KEY: ${{ secrets.SF_SIGNING_KEY }} + - name: Build run: | curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal export PATH="$HOME/.cargo/bin:$PATH" diff --git a/Cargo.lock b/Cargo.lock index 27fd90e..e267478 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3402,7 +3402,7 @@ dependencies = [ [[package]] name = "netflex-tv" -version = "0.1.0" +version = "0.1.1" dependencies = [ "anyhow", "env_logger", @@ -4864,7 +4864,7 @@ dependencies = [ [[package]] name = "sf-ui" -version = "0.2.0" +version = "0.2.1" dependencies = [ "anyhow", "glow 0.16.0", diff --git a/Cargo.toml b/Cargo.toml index 8b7ef96..29ff5a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "netflex-tv" description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback" -version = "0.1.0" +version = "0.1.1" edition = "2024" # sf-ui (and Slint) are GPL-3.0 on a TV box. license = "GPL-3.0-only" diff --git a/README.md b/README.md index 4b19150..67c7648 100644 --- a/README.md +++ b/README.md @@ -25,12 +25,11 @@ NETFLEX_SERVER=http://127.0.0.1:7880 NETFLEX_WINDOWED=1 cargo run 1. Emeld a `version` értékét az `app.toml`-ban és a `Cargo.toml`-ban. 2. `git tag v0.1.1 && git push --tags`. -3. A Gitea CI (`.gitea/workflows/release.yml`) a Fennec OS checkouton belül épít, aláír, és release-t csinál a három store-fájllal. +3. A Gitea CI (`.gitea/workflows/release.yml`) a Fennec OS checkouton belül épít, és release-t csinál a két store-fájllal. -CI secretek: -- `SF_SIGNING_KEY` = `base64 -w0 key.pem`. A `key.pem` csak helyben van: őrizd meg, és sose commitold. +CI secret: - `SMARTFOX_TOKEN`: olvasási jog a `bluefox/fox-in-the-box` repóhoz. -Helyben: `SF_SIGNING_KEY_FILE=key.pem ./package.sh`. +Helyben: `./package.sh`. A TV-n: Store → Források → a repó címe. diff --git a/app.toml b/app.toml index abe2128..54698d9 100644 --- a/app.toml +++ b/app.toml @@ -2,7 +2,7 @@ id = "support.bluefox.netflex" name = "Netflex" # Release versions only (1.2.3). Bump it (and Cargo.toml) for every release. -version = "0.1.0" +version = "0.1.1" kind = "exec" category = "Saját streaming" description = "Filmek és sorozatok a saját Netflex szerveredről, natívan: azonnal indul, miközben töltődik, hardveres videódekódolással." @@ -14,10 +14,6 @@ icon = "icon.png" accent = "#E50914" palette = ["#ff4a3d", "#8c0b14", "#120305"] -# Signing key's public half (sf-pack keygen). Every release must be signed -# with the same key (CI secret SF_SIGNING_KEY), or TVs won't update. -public_key = "NmaJZJOe61vIokabSvkW7hl1Cp6a4NUsOw9IDtm/ZB4=" - [sandbox] # network: the Netflex server; gpu: glass and hardware video decoding; # audio: sound. diff --git a/package.sh b/package.sh index a73a28b..4afb2fb 100755 --- a/package.sh +++ b/package.sh @@ -1,9 +1,6 @@ #!/usr/bin/env bash -# Builds the three store release assets into dist/: app.toml, -# support.bluefox.netflex-.tar.zst and its .sig. -# -# SF_SIGNING_KEY= ./package.sh (CI) -# SF_SIGNING_KEY_FILE=key.pem ./package.sh (by hand) +# Builds the two store release assets into dist/: app.toml and +# support.bluefox.netflex-.tar.zst. # # Runs inside a SmartFox checkout (this repo at apps/netflex-tv), on Debian # trixie or older (the TV's glibc), with the GStreamer dev packages: