Release Netflex TV without Store signing
Some checks failed
release / release (push) Has been cancelled
Some checks failed
release / release (push) Has been cancelled
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
# On a tag (v1.2.3): build inside a SmartFox checkout (sf-ui lives there),
|
# 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:
|
# 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)
|
# SMARTFOX_TOKEN read access to bluefox/fox-in-the-box (it is private)
|
||||||
name: release
|
name: release
|
||||||
on:
|
on:
|
||||||
@@ -25,9 +24,7 @@ jobs:
|
|||||||
git clone --depth 1 "https://oauth2:${{ secrets.SMARTFOX_TOKEN }}@${SMARTFOX_REPO}.git" work
|
git clone --depth 1 "https://oauth2:${{ secrets.SMARTFOX_TOKEN }}@${SMARTFOX_REPO}.git" work
|
||||||
git clone --depth 1 --branch "$GITHUB_REF_NAME" \
|
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
|
"${GITHUB_SERVER_URL%%://*}://oauth2:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#*://}/${GITHUB_REPOSITORY}.git" work/apps/netflex-tv
|
||||||
- name: Build and sign
|
- name: Build
|
||||||
env:
|
|
||||||
SF_SIGNING_KEY: ${{ secrets.SF_SIGNING_KEY }}
|
|
||||||
run: |
|
run: |
|
||||||
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal
|
curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal
|
||||||
export PATH="$HOME/.cargo/bin:$PATH"
|
export PATH="$HOME/.cargo/bin:$PATH"
|
||||||
|
|||||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -3402,7 +3402,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "netflex-tv"
|
name = "netflex-tv"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"env_logger",
|
"env_logger",
|
||||||
@@ -4864,7 +4864,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sf-ui"
|
name = "sf-ui"
|
||||||
version = "0.2.0"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"glow 0.16.0",
|
"glow 0.16.0",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "netflex-tv"
|
name = "netflex-tv"
|
||||||
description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback"
|
description = "Netflex for SmartFox: native TV client with Liquid Glass and hardware video playback"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
# sf-ui (and Slint) are GPL-3.0 on a TV box.
|
# sf-ui (and Slint) are GPL-3.0 on a TV box.
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
|
|||||||
@@ -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.
|
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`.
|
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:
|
CI secret:
|
||||||
- `SF_SIGNING_KEY` = `base64 -w0 key.pem`. A `key.pem` csak helyben van: őrizd meg, és sose commitold.
|
|
||||||
- `SMARTFOX_TOKEN`: olvasási jog a `bluefox/fox-in-the-box` repóhoz.
|
- `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.
|
A TV-n: Store → Források → a repó címe.
|
||||||
|
|||||||
6
app.toml
6
app.toml
@@ -2,7 +2,7 @@
|
|||||||
id = "support.bluefox.netflex"
|
id = "support.bluefox.netflex"
|
||||||
name = "Netflex"
|
name = "Netflex"
|
||||||
# Release versions only (1.2.3). Bump it (and Cargo.toml) for every release.
|
# Release versions only (1.2.3). Bump it (and Cargo.toml) for every release.
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
kind = "exec"
|
kind = "exec"
|
||||||
category = "Saját streaming"
|
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."
|
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"
|
accent = "#E50914"
|
||||||
palette = ["#ff4a3d", "#8c0b14", "#120305"]
|
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]
|
[sandbox]
|
||||||
# network: the Netflex server; gpu: glass and hardware video decoding;
|
# network: the Netflex server; gpu: glass and hardware video decoding;
|
||||||
# audio: sound.
|
# audio: sound.
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Builds the three store release assets into dist/: app.toml,
|
# Builds the two store release assets into dist/: app.toml and
|
||||||
# support.bluefox.netflex-<version>.tar.zst and its .sig.
|
# support.bluefox.netflex-<version>.tar.zst.
|
||||||
#
|
|
||||||
# SF_SIGNING_KEY=<base64 of key.pem> ./package.sh (CI)
|
|
||||||
# SF_SIGNING_KEY_FILE=key.pem ./package.sh (by hand)
|
|
||||||
#
|
#
|
||||||
# Runs inside a SmartFox checkout (this repo at apps/netflex-tv), on Debian
|
# 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:
|
# trixie or older (the TV's glibc), with the GStreamer dev packages:
|
||||||
|
|||||||
Reference in New Issue
Block a user