Xbox Cloud Gaming app for PS5 Homebrew
C
feat(release): standardize 10-asset bundle and bilingual manifest tables (PS5, PS4, Linux)
Rafael Abud Ferreira6e25c09135c4
diff --git a/notes.md b/notes.mdindex 2e9deac..1d4fd78 100644--- a/notes.md+++ b/notes.md@@ -16,15 +16,37 @@- **Universal USB Controller Drivers**: Direct in-app support on PS4 (using `libSceUsbd`) for PS3 (DualShock 3), PS4 (wired/third-party), PS5 (DualSense), Xbox 360, Xbox One / Series X|S (GIP), 8BitDo adapters/controllers, Nintendo Switch Pro & Input-Only, Google Stadia, and generic DirectInput/HID gamepads.- **Autonomous & Zero-Dependency**: Works out of the box directly in the application without requiring background daemons or external GoldHEN payloads.+### 📦 Attached Files (English)++| File Name | Description |+|---|---|+| `PSBoxCloudGaming[PS5]-v1.6.1.zip` | Official standalone ZIP package for PlayStation 5 (manual install or homebrew manager). |+| `PSBoxCloudGaming[PS5]-v1.6.1.zip.sig` | ECDSA cryptographic digital signature verifying package authenticity on PS5. |+| `PSBoxCloudGaming[PS5]-v1.6.1.zip.sha256` | SHA256 checksum for the PS5 package. |+| `PPSA99810.zip` | Canonical PS5 package required by the In-App Updater for consoles updating from previous versions. |+| `PPSA99810.zip.sig` | Canonical cryptographic signature required by the In-App Updater. |+| `PPSA99810.zip.sha256` | SHA256 checksum for the canonical PS5 package. |+| `PSBoxCloudGaming[PS4]-v1.6.1.pkg` | Installable FPKG package for PlayStation 4 (GoldHEN Package Installer). |+| `PSBoxCloudGaming[PS4]-v1.6.1.pkg.sha256` | SHA256 checksum for the PS4 package. |+| `PSBoxCloudGaming[Linux]-v1.6.1.AppImage` | Universal portable binary for Linux distributions and Steam Deck (Desktop Mode & Game Mode). |+| `PSBoxCloudGaming[Linux]-v1.6.1.AppImage.sha256` | SHA256 checksum for the Linux AppImage. |+----**Installation on PS5**:-- Install directly from **ProsperoStore** or **RecompStore**, or download the signed `PPSA99810.zip` and install manually via Homebrew / FTP.-**Installation on PS4**:+### 🚀 How to Install (English)++#### 🎮 PlayStation 5+- **Automatic In-App Update**: Open the app's *Settings* menu and choose the built-in update option.+- **Manual Installation**:+ 1. Download `PSBoxCloudGaming[PS5]-v1.6.1.zip` or `PPSA99810.zip`.+ 2. Extract its contents over FTP to `/data/homebrew/PPSA99810/` on your jailbroken PS5.+ 3. Ensure all files and folders have `0777` permissions.++#### 🎮 PlayStation 4- Download `PSBoxCloudGaming[PS4]-v1.6.1.pkg`, copy it to the root of a USB drive (exFAT/FAT32), and install via *Settings > GoldHEN > Package Installer*.-**Installation on Linux**:-- Download `PSBox-v1.6.1-linux-x86_64.AppImage`, make it executable (`chmod +x`) and run it. It also works on the Steam Deck, in Desktop and Game modes.+#### 🐧 Linux Desktop & Steam Deck+- Download `PSBoxCloudGaming[Linux]-v1.6.1.AppImage`, make it executable (`chmod +x`) and run it. Works directly in Desktop Mode and Steam Game Mode.<!-- LANG:PT --># PSBox Cloud Gaming v1.6.1 (Português)@@ -45,11 +67,35 @@- **Autônomo e Sem Dependências Externas**: Funciona imediatamente dentro do próprio aplicativo sem necessidade de daemons ou payloads externos do GoldHEN em segundo plano.----**Instalação no PS5**:-- Instale diretamente pela **ProsperoStore** ou **RecompStore**, ou baixe o pacote assinado `PPSA99810.zip` e instale manualmente via Homebrew / FTP.-**Instalação no PS4**:+### 📦 Arquivos Anexados (Português)++| Nome do Arquivo | Descrição |+|---|---|+| `PSBoxCloudGaming[PS5]-v1.6.1.zip` | Pacote ZIP oficial para PlayStation 5 (instalação manual ou via gerenciadores homebrew). |+| `PSBoxCloudGaming[PS5]-v1.6.1.zip.sig` | Assinatura digital ECDSA para verificação de integridade e autenticidade no PS5. |+| `PSBoxCloudGaming[PS5]-v1.6.1.zip.sha256` | Checksum SHA256 do pacote de PS5. |+| `PPSA99810.zip` | Pacote canônico de PS5 obrigatório para o atualizador automático in-app (consoles rodando v1.5.4 ou anterior). |+| `PPSA99810.zip.sig` | Assinatura canônica obrigatória para validação do in-app updater. |+| `PPSA99810.zip.sha256` | Checksum SHA256 do pacote canônico de PS5. |+| `PSBoxCloudGaming[PS4]-v1.6.1.pkg` | Pacote FPKG instalável para PlayStation 4 (compatível com GoldHEN Package Installer). |+| `PSBoxCloudGaming[PS4]-v1.6.1.pkg.sha256` | Checksum SHA256 do pacote de PS4. |+| `PSBoxCloudGaming[Linux]-v1.6.1.AppImage` | Pacote executável universal para distribuições Linux e Steam Deck (Desktop Mode e Game Mode). |+| `PSBoxCloudGaming[Linux]-v1.6.1.AppImage.sha256` | Checksum SHA256 do pacote AppImage Linux. |++---++### 🚀 Como Instalar (Português)++#### 🎮 PlayStation 5+- **Atualização Automática**: Abra as *Configurações* no próprio app e utilize a opção de atualização automática integrada.+- **Instalação Manual**:+ 1. Baixe `PSBoxCloudGaming[PS5]-v1.6.1.zip` ou `PPSA99810.zip`.+ 2. Extraia o conteúdo para `/data/homebrew/PPSA99810/` no seu PS5 via FTP.+ 3. Garanta permissões `0777` em todas as pastas e arquivos extraídos.++#### 🎮 PlayStation 4- Baixe `PSBoxCloudGaming[PS4]-v1.6.1.pkg`, copie para a raiz de um pendrive (exFAT/FAT32) e instale via *Configurações > GoldHEN > Instalador de Pacotes*.-**Instalação no Linux**:-- Baixe `PSBox-v1.6.1-linux-x86_64.AppImage`, dê permissão de execução (`chmod +x`) e execute. Compatível com Steam Deck em modo Desktop e Game.+#### 🐧 Linux Desktop & Steam Deck+- Baixe `PSBoxCloudGaming[Linux]-v1.6.1.AppImage`, dê permissão de execução (`chmod +x`) e execute. Compatível com Steam Deck em modo Desktop e Game Mode.diff --git a/tools/publish-release.sh b/tools/publish-release.shindex 9c8a28b..76ddabb 100755--- a/tools/publish-release.sh+++ b/tools/publish-release.sh@@ -99,24 +99,25 @@ git push origin "$tag"# Phase 3: GitHub Release Creation (PS5 + PS4)echoecho -e "${BOLD}Phase 3: Creating GitHub Release $tag with PS5 and PS4 assets...${NC}"-# Use [[]PS4] escaping to prevent Go filepath.Glob from treating [PS4] as a regex character set+# Use [[] escaping to prevent Go filepath.Glob from treating [PS5] / [PS4] as regex character sets+initial_assets=(+ "$out/PPSA99810.zip"+ "$out/PPSA99810.zip.sha256"+ "$out/PPSA99810.zip.sig"+ "$out/PSBoxCloudGaming[[]PS5]-$tag.zip"+ "$out/PSBoxCloudGaming[[]PS5]-$tag.zip.sha256"+ "$out/PSBoxCloudGaming[[]PS5]-$tag.zip.sig"+ "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg"+ "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg.sha256"+)+gh release create "$tag" \- "$out/PPSA99810.zip" \- "$out/PPSA99810.zip.sha256" \- "$out/PPSA99810.zip.sig" \- "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg" \- "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg.sha256" \+ "${initial_assets[@]}" \--target "$(git rev-parse HEAD)" \--title "PSBox Cloud Gaming $tag" \--notes-file "$root/notes.md" 2>/dev/null || {echo "Release $tag might already exist; updating assets..."- gh release upload "$tag" \- "$out/PPSA99810.zip" \- "$out/PPSA99810.zip.sha256" \- "$out/PPSA99810.zip.sig" \- "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg" \- "$out/PSBoxCloudGaming[[]PS4]-$tag.pkg.sha256" \- --clobber+ gh release upload "$tag" "${initial_assets[@]}" --clobbergh release edit "$tag" --notes-file "$root/notes.md"}@@ -124,15 +125,16 @@ gh release create "$tag" \echoecho -e "${BOLD}Phase 4: Waiting for Linux AppImage build (CI: .github/workflows/release-linux.yml)...${NC}"linux_name="PSBox-$tag-linux-x86_64.AppImage"+named_linux="PSBoxCloudGaming[Linux]-$tag.AppImage"timeout_secs=900 # 15 minutes maxelapsed=0interval=15while true; doassets_json=$(gh release view "$tag" --json assets 2>/dev/null || echo '{"assets":[]}')- has_appimage=$(echo "$assets_json" | jq -r --arg n "$linux_name" '.assets[] | select(.name == $n and .state == "uploaded") | .name')+ has_appimage=$(echo "$assets_json" | jq -r --arg n "$linux_name" --arg nl "PSBoxCloudGaming.Linux.-$tag.AppImage" '.assets[] | select((.name == $n or .name == $nl) and .state == "uploaded") | .name' | head -1)if [[ -n "$has_appimage" ]]; then- echo -e "${GREEN}Linux AppImage is uploaded on GitHub: $linux_name${NC}"+ echo -e "${GREEN}Linux AppImage is uploaded on GitHub: $has_appimage${NC}"breakfi@@ -145,16 +147,26 @@ while true; doexit 1fi- echo "Waiting for $linux_name to be uploaded by CI... (${elapsed}s elapsed)"+ echo "Waiting for Linux AppImage to be uploaded by CI... (${elapsed}s elapsed)"sleep "$interval"elapsed=$((elapsed + interval))done-# Phase 5: Cryptographic Signature of Linux AppImage+# Phase 5: Cryptographic Signature and Named Linux Assetechoecho -e "${BOLD}Phase 5: Signing Linux AppImage with local release key...${NC}"tools/desktop/sign-linux-release.sh "$tag"+# Download the signed Linux AppImage and upload as PSBoxCloudGaming[Linux]-$tag.AppImage+work_linux=$(mktemp -d)+gh release download "$tag" -p "$linux_name" -D "$work_linux" >/dev/null 2>&1+if [[ -s "$work_linux/$linux_name" ]]; then+ cp -f "$work_linux/$linux_name" "$work_linux/$named_linux"+ (cd "$work_linux" && sha256sum "$named_linux" > "$named_linux.sha256")+ gh release upload "$tag" "$work_linux/PSBoxCloudGaming[[]Linux]-$tag.AppImage" "$work_linux/PSBoxCloudGaming[[]Linux]-$tag.AppImage.sha256" --clobber+fi+rm -rf "$work_linux"+# Phase 6: Final Tri-Platform Auditechoecho -e "${BOLD}Phase 6: Executing final release audit...${NC}"diff --git a/tools/release-verify.sh b/tools/release-verify.shindex 9ef855b..3786d23 100755--- a/tools/release-verify.sh+++ b/tools/release-verify.sh@@ -2,11 +2,19 @@# SPDX-License-Identifier: GPL-3.0-or-later# Copyright (C) 2026 RafaelNGP#-# Release Verifier - Enforces the Tri-Platform Release Standard-# Every published release (vX.Y.Z) MUST contain assets for:-# 1. PlayStation 5 (PPSA99810.zip + .sha256 + .sig)-# 2. PlayStation 4 (PSBoxCloudGaming[PS4]-vX.Y.Z.pkg + .sha256)-# 3. Linux AppImage (PSBox-vX.Y.Z-linux-x86_64.AppImage + .sha256 + .sig)+# Release Verifier - Enforces the Tri-Platform Standard (PS5, PS4, Linux AppImage)+# Verifies the exact 10-asset bundle and release notes tables:+#+# 1. PSBoxCloudGaming[PS5]-vX.Y.Z.zip+# 2. PSBoxCloudGaming[PS5]-vX.Y.Z.zip.sig+# 3. PSBoxCloudGaming[PS5]-vX.Y.Z.zip.sha256+# 4. PPSA99810.zip+# 5. PPSA99810.zip.sig+# 6. PPSA99810.zip.sha256+# 7. PSBoxCloudGaming[PS4]-vX.Y.Z.pkg+# 8. PSBoxCloudGaming[PS4]-vX.Y.Z.pkg.sha256+# 9. PSBoxCloudGaming[Linux]-vX.Y.Z.AppImage+# 10. PSBoxCloudGaming[Linux]-vX.Y.Z.AppImage.sha256## Usage:# tools/release-verify.sh <vX.Y.Z|X.Y.Z> [--verify-sigs]@@ -64,7 +72,14 @@ elsewarn "Release notes: Missing <!-- LANG:EN --> or <!-- LANG:PT --> markers"fi-if grep -iq "PS5" <<<"$body" && grep -iq "PS4" <<<"$body" && grep -iq "Linux" <<<"$body"; then+if grep -q "Attached Files (English)" <<<"$body" && grep -q "Arquivos Anexados (Português)" <<<"$body"; then+ pass "Release notes: Standard Attached Files tables (EN/PT) present"+else+ fail "Release notes: Missing 'Attached Files (English)' or 'Arquivos Anexados (Português)' table"+ errors=$((errors + 1))+fi++if grep -iq "PlayStation 5" <<<"$body" && grep -iq "PlayStation 4" <<<"$body" && grep -iq "Linux" <<<"$body"; thenpass "Release notes: Installation instructions present for PS5, PS4, and Linux"elsewarn "Release notes: Missing explicit installation instructions for all 3 platforms"@@ -88,119 +103,50 @@ get_asset_state() {echo "$json" | jq -r --arg n "$name" '.assets[] | select(.name == $n) | .state // ""'}-echo-echo -e "${BOLD}Target 1: PlayStation 5 (PS5)${NC}"-ps5_zip=$(find_asset '^PPSA99810\.zip$')-ps5_sha=$(find_asset '^PPSA99810\.zip\.sha256$')-ps5_sig=$(find_asset '^PPSA99810\.zip\.sig$')--if [[ -n "$ps5_zip" ]]; then- sz=$(get_asset_size "$ps5_zip")- st=$(get_asset_state "$ps5_zip")- mb=$(awk -v s="$sz" 'BEGIN { printf "%.2f", s / 1048576 }')- if (( sz > 10000000 )) && [[ "$st" == "uploaded" ]]; then- pass "PPSA99810.zip ($mb MB, state: $st)"- else- fail "PPSA99810.zip is too small or not fully uploaded ($sz bytes, state: $st)"- errors=$((errors + 1))- fi-else- fail "PPSA99810.zip is MISSING"- errors=$((errors + 1))-fi--if [[ -n "$ps5_sha" ]]; then- pass "PPSA99810.zip.sha256 present"-else- fail "PPSA99810.zip.sha256 is MISSING"- errors=$((errors + 1))-fi--if [[ -n "$ps5_sig" ]]; then- sz=$(get_asset_size "$ps5_sig")- if (( sz > 0 )); then- pass "PPSA99810.zip.sig present ($sz bytes)"+check_file() {+ local label="$1"+ local pattern="$2"+ local min_size="$3"+ local asset+ asset=$(find_asset "$pattern")+ if [[ -n "$asset" ]]; then+ local sz st mb+ sz=$(get_asset_size "$asset")+ st=$(get_asset_state "$asset")+ mb=$(awk -v s="$sz" 'BEGIN { printf "%.2f", s / 1048576 }')+ if (( sz >= min_size )) && [[ "$st" == "uploaded" ]]; then+ pass "$asset ($mb MB, state: $st)"+ return 0+ else+ fail "$asset is too small or incomplete ($sz bytes, state: $st)"+ errors=$((errors + 1))+ return 1+ fielse- fail "PPSA99810.zip.sig is empty"+ fail "$label is MISSING (matching pattern: $pattern)"errors=$((errors + 1))+ return 1fi-else- fail "PPSA99810.zip.sig is MISSING (Console updater requires .sig!)"- errors=$((errors + 1))-fi+}echo-echo -e "${BOLD}Target 2: PlayStation 4 (PS4)${NC}"-# GitHub sanitizes [PS4] to .PS4., so we match both literal [PS4] and .PS4.-ps4_pkg=$(find_asset '^(PSBoxCloudGaming(\[PS4\]|\.PS4\.)-v'"$version"'\.pkg|PSBoxCloudGaming-v'"$version"'-ps4\.pkg)$')-ps4_sha=$(find_asset '^(PSBoxCloudGaming(\[PS4\]|\.PS4\.)-v'"$version"'\.pkg\.sha256|PSBoxCloudGaming-v'"$version"'-ps4\.pkg\.sha256)$')--if [[ -n "$ps4_pkg" ]]; then- sz=$(get_asset_size "$ps4_pkg")- st=$(get_asset_state "$ps4_pkg")- mb=$(awk -v s="$sz" 'BEGIN { printf "%.2f", s / 1048576 }')- if (( sz > 5000000 )) && [[ "$st" == "uploaded" ]]; then- pass "$ps4_pkg ($mb MB, state: $st)"- else- fail "$ps4_pkg is too small or not fully uploaded ($sz bytes, state: $st)"- errors=$((errors + 1))- fi-else- fail "PS4 PKG package is MISSING (expected PSBoxCloudGaming[PS4]-$tag.pkg)"- errors=$((errors + 1))-fi--if [[ -n "$ps4_sha" ]]; then- pass "$ps4_sha present"-else- fail "PS4 PKG sha256 checksum is MISSING"- errors=$((errors + 1))-fi+echo -e "${BOLD}Target 1: PlayStation 5 (PS5) - Named Package & In-App Updater Canonical${NC}"+check_file "PSBoxCloudGaming[PS5]-$tag.zip" '^(PSBoxCloudGaming(\[PS5\]|\.PS5\.)-v'"$version"'\.zip)$' 10000000+check_file "PSBoxCloudGaming[PS5]-$tag.zip.sig" '^(PSBoxCloudGaming(\[PS5\]|\.PS5\.)-v'"$version"'\.zip\.sig)$' 60+check_file "PSBoxCloudGaming[PS5]-$tag.zip.sha256" '^(PSBoxCloudGaming(\[PS5\]|\.PS5\.)-v'"$version"'\.zip\.sha256)$' 60+check_file "PPSA99810.zip (canonical)" '^PPSA99810\.zip$' 10000000+check_file "PPSA99810.zip.sig (canonical)" '^PPSA99810\.zip\.sig$' 60+check_file "PPSA99810.zip.sha256 (canonical)" '^PPSA99810\.zip\.sha256$' 60echo-echo -e "${BOLD}Target 3: Linux Desktop (AppImage)${NC}"-linux_app=$(find_asset '^PSBox-v'"$version"'-linux-x86_64\.AppImage$')-linux_sha=$(find_asset '^PSBox-v'"$version"'-linux-x86_64\.AppImage\.sha256$')-linux_sig=$(find_asset '^PSBox-v'"$version"'-linux-x86_64\.AppImage\.sig$')--if [[ -n "$linux_app" ]]; then- sz=$(get_asset_size "$linux_app")- st=$(get_asset_state "$linux_app")- mb=$(awk -v s="$sz" 'BEGIN { printf "%.2f", s / 1048576 }')- if (( sz > 4000000 )) && [[ "$st" == "uploaded" ]]; then- pass "$linux_app ($mb MB, state: $st)"- else- fail "$linux_app is too small or not fully uploaded ($sz bytes, state: $st)"- errors=$((errors + 1))- fi-else- fail "Linux AppImage is MISSING (expected PSBox-$tag-linux-x86_64.AppImage)"- echo -e " ${YELLOW}Hint: Run the 'Release (Linux)' workflow via:${NC}"- echo -e " gh workflow run release-linux.yml -f tag=$tag"- errors=$((errors + 1))-fi+echo -e "${BOLD}Target 2: PlayStation 4 (PS4) - FPKG & Checksum${NC}"+check_file "PSBoxCloudGaming[PS4]-$tag.pkg" '^(PSBoxCloudGaming(\[PS4\]|\.PS4\.)-v'"$version"'\.pkg|PSBoxCloudGaming-v'"$version"'-ps4\.pkg)$' 5000000+check_file "PSBoxCloudGaming[PS4]-$tag.pkg.sha256" '^(PSBoxCloudGaming(\[PS4\]|\.PS4\.)-v'"$version"'\.pkg\.sha256|PSBoxCloudGaming-v'"$version"'-ps4\.pkg\.sha256)$' 60-if [[ -n "$linux_sha" ]]; then- pass "$linux_sha present"-else- fail "Linux AppImage sha256 checksum is MISSING"- errors=$((errors + 1))-fi--if [[ -n "$linux_sig" ]]; then- sz=$(get_asset_size "$linux_sig")- if (( sz > 0 )); then- pass "$linux_sig present ($sz bytes)"- else- fail "$linux_sig is empty"- errors=$((errors + 1))- fi-else- fail "Linux AppImage signature (.sig) is MISSING"- echo -e " ${YELLOW}Hint: Sign the downloaded AppImage using:${NC}"- echo -e " tools/desktop/sign-linux-release.sh $tag"- errors=$((errors + 1))-fi+echo+echo -e "${BOLD}Target 3: Linux Desktop & Steam Deck - AppImage & Checksum${NC}"+check_file "PSBoxCloudGaming[Linux]-$tag.AppImage" '^(PSBoxCloudGaming(\[Linux\]|\.Linux\.)-v'"$version"'\.AppImage|PSBox-v'"$version"'-linux-x86_64\.AppImage)$' 4000000+check_file "PSBoxCloudGaming[Linux]-$tag.AppImage.sha256" '^(PSBoxCloudGaming(\[Linux\]|\.Linux\.)-v'"$version"'\.AppImage\.sha256|PSBox-v'"$version"'-linux-x86_64\.AppImage\.sha256)$' 60# Optional cryptographic signature verificationif [[ $verify_sigs -eq 1 && $errors -eq 0 ]]; then@@ -217,19 +163,23 @@ if [[ $verify_sigs -eq 1 && $errors -eq 0 ]]; then# Verify PS5 signaturegh release download "$tag" -p "PPSA99810.zip" -p "PPSA99810.zip.sig" -D "$work" >/dev/null 2>&1if openssl dgst -sha256 -verify "$pubkey" -signature "$work/PPSA99810.zip.sig" "$work/PPSA99810.zip" >/dev/null 2>&1; then- pass "PS5 package cryptographic signature verified"+ pass "PS5 package (PPSA99810.zip) cryptographic signature verified"elsefail "PS5 package signature DOES NOT verify against updater.cpp public key!"errors=$((errors + 1))fi- # Verify Linux signature- gh release download "$tag" -p "$linux_app" -p "$linux_sig" -D "$work" >/dev/null 2>&1- if openssl dgst -sha256 -verify "$pubkey" -signature "$work/$linux_sig" "$work/$linux_app" >/dev/null 2>&1; then- pass "Linux AppImage cryptographic signature verified"- else- fail "Linux AppImage signature DOES NOT verify against updater.cpp public key!"- errors=$((errors + 1))+ # Verify Linux signature if present+ linux_app=$(find_asset '^PSBox-v'"$version"'-linux-x86_64\.AppImage$')+ linux_sig=$(find_asset '^PSBox-v'"$version"'-linux-x86_64\.AppImage\.sig$')+ if [[ -n "$linux_app" && -n "$linux_sig" ]]; then+ gh release download "$tag" -p "$linux_app" -p "$linux_sig" -D "$work" >/dev/null 2>&1+ if openssl dgst -sha256 -verify "$pubkey" -signature "$work/$linux_sig" "$work/$linux_app" >/dev/null 2>&1; then+ pass "Linux AppImage cryptographic signature verified"+ else+ fail "Linux AppImage signature DOES NOT verify against updater.cpp public key!"+ errors=$((errors + 1))+ fifielsewarn "Could not extract public key from src/app/updater.cpp"@@ -240,13 +190,16 @@ echoif [[ $errors -eq 0 ]]; thenecho -e "${BOLD}${GREEN}======================================================${NC}"echo -e "${BOLD}${GREEN} RELEASE $tag VERIFICATION PASSED (TRI-PLATFORM OK) ${NC}"- echo -e "${BOLD}${GREEN} ✓ PS5 ✓ PS4 ✓ Linux AppImage ${NC}"+ echo -e "${BOLD}${GREEN} ✓ PS5 (Named + Canonical) ${NC}"+ echo -e "${BOLD}${GREEN} ✓ PS4 (FPKG + SHA256) ${NC}"+ echo -e "${BOLD}${GREEN} ✓ Linux (AppImage + SHA256) ${NC}"+ echo -e "${BOLD}${GREEN} ✓ Bilingual Attached Files Manifest Tables Verified ${NC}"echo -e "${BOLD}${GREEN}======================================================${NC}"exit 0elseecho -e "${BOLD}${RED}======================================================${NC}"echo -e "${BOLD}${RED} RELEASE $tag VERIFICATION FAILED ($errors ERRORS FOUND) ${NC}"- echo -e "${BOLD}${RED} One or more mandatory platform assets are missing! ${NC}"+ echo -e "${BOLD}${RED} One or more mandatory assets/tables are missing! ${NC}"echo -e "${BOLD}${RED}======================================================${NC}"exit 1fidiff --git a/tools/release.sh b/tools/release.shindex 5e07c4c..5fd3583 100755--- a/tools/release.sh+++ b/tools/release.sh@@ -107,6 +107,13 @@ ok "$out/PPSA99810.zip ($(du -h "$out/PPSA99810.zip" | cut -f1)), sha256 $sha"sign "$out/PPSA99810.zip"ok "signed: $out/PPSA99810.zip.sig"+# Standard named package for PlayStation 5+ps5_named="PSBoxCloudGaming[PS5]-$tag.zip"+cp -f "$out/PPSA99810.zip" "$out/$ps5_named"+cp -f "$out/PPSA99810.zip.sig" "$out/$ps5_named.sig"+(cd "$out" && sha256sum "$ps5_named" > "$ps5_named.sha256")+ok "$out/$ps5_named ($(du -h "$out/$ps5_named" | cut -f1)), sha256 $(cut -d' ' -f1 "$out/$ps5_named.sha256")"+echo "== checks in the package"zip=$out/PPSA99810.zipif unzip -Z1 "$zip" | grep -nE "$private|\.elf$"; then fail "a private or symbol file in the zip"; fi@@ -177,7 +184,10 @@ if [[ $linux == 1 ]]; then(cd "$out" && sha256sum "$name" > "$name.sha256")sign "$appimage"ok "signed: $appimage.sig"- linux_assets=" \"$appimage\" \"$appimage.sha256\" \"$appimage.sig\""+ named_linux="PSBoxCloudGaming[Linux]-$tag.AppImage"+ cp -f "$appimage" "$out/$named_linux"+ (cd "$out" && sha256sum "$named_linux" > "$named_linux.sha256")+ linux_assets=" \"$appimage\" \"$appimage.sha256\" \"$appimage.sig\" \"$out/PSBoxCloudGaming[[]Linux]-$tag.AppImage\" \"$out/PSBoxCloudGaming[[]Linux]-$tag.AppImage.sha256\""fiif [[ $console == 1 ]]; then@@ -195,6 +205,7 @@ fiecho "== all checks passed; to publish (with release notes in notes.md):"echo " gh release create $tag \\"echo " \"$zip\" \"$out/PPSA99810.zip.sha256\" \"$out/PPSA99810.zip.sig\" \\"+echo " \"$out/PSBoxCloudGaming[[]PS5]-$tag.zip\" \"$out/PSBoxCloudGaming[[]PS5]-$tag.zip.sha256\" \"$out/PSBoxCloudGaming[[]PS5]-$tag.zip.sig\" \\"echo " \"$out/PSBoxCloudGaming[[]PS4]-$tag.pkg\" \"$out/PSBoxCloudGaming[[]PS4]-$tag.pkg.sha256\"$linux_assets \\"echo " --target $(git rev-parse HEAD) --title \"PSBox Cloud Gaming $tag\" --notes-file notes.md"echo