Skip to content

Xbox Cloud Gaming app for PS5 Homebrew

C

build(linux): ship the Linux app as an AppImage, never a tarball

Rafael Abud Ferreira2dcadab37f4e
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9887de0..9d9a4a3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Every push and pull request: the SDL-free desktop build (psbox-headless
# included) with its unit tests, PS5 calls kept in the PS5 backends, the
-# SDL3 app with its self-test and Linux tarball (linux-app), and a scan of
+# SDL3 app with its self-test and Linux AppImage (linux-app), and a scan of
# the changes for account data. The PS5 build needs the PS5_Vulkan toolchain,
# which isn't here: tools/release.sh checks it before a release.
name: CI
@@ -62,7 +62,7 @@ jobs:
- name: Unit tests
run: ctest --test-dir build-host --output-on-failure
- # The SDL3 desktop app (psbox) and its Linux tarball. Built on the oldest
+ # The SDL3 desktop app (psbox) and its Linux AppImage. Built on the oldest
# supported runner: its glibc is the package's baseline. SDL3 is built
# from its release (every backend loaded at run time, so one libSDL3.so.0
# serves X11 and Wayland, PulseAudio, PipeWire and ALSA) and bundled.
@@ -133,13 +133,13 @@ jobs:
XCLOUD_DATA_DIR: ${{ runner.temp }}/psbox-data
run: build-app/psbox --selftest "$RUNNER_TEMP/psbox-selftest"
- - name: Package
- run: bash tools/desktop/package-linux.sh build-app build-app/pkg
+ - name: Package (AppImage, self-tested)
+ run: bash tools/desktop/package-appimage.sh build-app build-app/pkg
- uses: actions/upload-artifact@v7
with:
name: psbox-linux-x86_64
- path: build-app/pkg/PSBox-*-linux-x86_64.tar.gz
+ path: build-app/pkg/PSBox-*-linux-x86_64.AppImage
if-no-files-found: error
- uses: actions/upload-artifact@v7
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.yml
index 6768d95..cc6dcab 100644
--- a/.github/workflows/release-linux.yml
+++ b/.github/workflows/release-linux.yml
@@ -1,10 +1,12 @@
# SPDX-License-Identifier: GPL-3.0-or-later
-# A published release gets the Linux app: built on ubuntu-24.04 (glibc 2.39,
-# so it runs on most current distributions; one built on a newer desktop
-# wouldn't), self-tested, packed and attached with its checksum. The
-# signature is added from the release machine afterwards with
-# tools/desktop/sign-linux-release.sh: the signing key never leaves it.
-# The same steps as ci.yml's linux-app job.
+# A published release gets the Linux app as an AppImage (never a tarball):
+# built on ubuntu-24.04 (glibc 2.39, so it runs on most current
+# distributions and the Steam Deck; one built on a newer desktop wouldn't),
+# self-tested, packed and attached with its checksum. The signature is added
+# from the release machine afterwards with tools/desktop/sign-linux-release.sh:
+# the signing key never leaves it. The same steps as ci.yml's linux-app job.
+# Run by hand for a tag (workflow_dispatch), it packs that tag's code with
+# this revision's packaging script.
name: Release (Linux)
on:
@@ -20,7 +22,7 @@ permissions:
contents: write
jobs:
- linux-tarball:
+ linux-appimage:
runs-on: ubuntu-24.04
env:
SDL3_VERSION: 3.4.18
@@ -33,6 +35,11 @@ jobs:
ref: ${{ env.TAG }}
submodules: recursive
+ - name: This revision's packaging (a run for an older tag)
+ run: |
+ git fetch -q --no-tags --depth=1 origin "$GITHUB_SHA"
+ git checkout FETCH_HEAD -- tools/desktop/package-appimage.sh linux/README-linux.txt
+
- name: The tag matches the version in CMakeLists.txt
run: |
v=$(sed -n 's/^project(xcloud_ps5 VERSION \([0-9.]*\).*/\1/p' CMakeLists.txt)
@@ -94,15 +101,15 @@ jobs:
XCLOUD_DATA_DIR: ${{ runner.temp }}/psbox-data
run: build-app/psbox --selftest "$RUNNER_TEMP/psbox-selftest"
- - name: Package
- run: XC_VERSION="$TAG" bash tools/desktop/package-linux.sh build-app build-app/pkg
+ - name: Package (AppImage, self-tested)
+ run: XC_VERSION="$TAG" bash tools/desktop/package-appimage.sh build-app build-app/pkg
- name: Attach to the release
env:
GH_TOKEN: ${{ github.token }}
run: |
cd build-app/pkg
- f="PSBox-$TAG-linux-x86_64.tar.gz"
+ f="PSBox-$TAG-linux-x86_64.AppImage"
[ -s "$f" ] || { echo "::error::$f was not made"; exit 1; }
sha256sum "$f" > "$f.sha256"
gh release upload "$TAG" "$f" "$f.sha256" --clobber --repo "$GITHUB_REPOSITORY"
diff --git a/AGENTS.md b/AGENTS.md
index 16d49e9..4f01ece 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -112,12 +112,13 @@ Para evitar degradação de desempenho, latência alta e manter a interação á
1. `PPSA99810.zip` (pacote limpo sem contas/tokens, empacotado sem `XC_INCLUDE_ACCOUNT`).
2. `PPSA99810.zip.sig` (assinatura ECDSA gerada com `~/.config/psbox-release/signing-key.pem`).
3. `PPSA99810.zip.sha256` (checksum para integridade).
+- **Linux: SEMPRE AppImage, NUNCA `.tar.gz`**: o pacote de Linux de toda release é `PSBox-vX.Y.Z-linux-x86_64.AppImage` + `.sha256`, gerado pelo workflow `.github/workflows/release-linux.yml` (ubuntu-24.04, glibc 2.39) com `tools/desktop/package-appimage.sh` ao publicar a release (ou à mão: `gh workflow run release-linux.yml -f tag=vX.Y.Z`). A assinatura `.sig` vem da máquina de release: `tools/desktop/sign-linux-release.sh vX.Y.Z`. Não gere o AppImage da release localmente (a glibc da máquina local é mais nova) e não publique tarball.
- **Formato Bilíngue Obrigatório nas Release Notes**: O arquivo `notes.md` e o corpo da release no GitHub devem SEMPRE apresentar primeiro o conteúdo completo em Inglês (`<!-- LANG:EN -->`) e, em seguida, em Português (`<!-- LANG:PT -->`).
- **Fluxo Mandatório de Publicação**:
1. Delegar o empacotamento e assinatura para subagente (preservando o contexto).
2. Gerar o pacote através de `tools/release.sh <X.Y.Z>` ou do pipeline de empacotamento oficial.
3. Publicar ou anexar com `gh release create vX.Y.Z PPSA99810.zip PPSA99810.zip.sig PPSA99810.zip.sha256 ...` (ou `gh release upload --clobber`).
- 4. **Verificação Obrigatória**: Sempre executar `gh release view vX.Y.Z` e confirmar que todos os 3 assets estão listados e públicos antes de considerar o release finalizado.
+ 4. **Verificação Obrigatória**: Sempre executar `gh release view vX.Y.Z` e confirmar que todos os 3 assets estão listados e públicos, e que o AppImage de Linux (com `.sha256` e `.sig`) está anexado, antes de considerar o release finalizado.
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d90513d..8925621 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -324,7 +324,7 @@ if(XC_DESKTOP_APP)
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/assets" "$<TARGET_FILE_DIR:psbox>/assets"
COMMENT "Copying assets/ beside psbox")
- # install() rules and CPack: the Linux tarball (tools/desktop/package-linux.sh).
+ # install() rules: the Linux AppImage (tools/desktop/package-appimage.sh).
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
include(cmake/desktop_package.cmake)
endif()
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index ef2fe52..0282696 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -46,7 +46,7 @@ the end.
| NASM (assembles FFmpeg's x86 SIMD code) | BSD-2-Clause |
| PS5_Vulkan tooling (`link.sh` recipe, `ps5-native-tool` ELF/FSELF writer, FTP deploy script) | GPL-3.0-or-later |
-## The Linux package (`PSBox-*-linux-x86_64.tar.gz`)
+## The Linux package (`PSBox-*-linux-x86_64.AppImage`)
`psbox` statically links the same Mbed TLS, libdatachannel (libjuice,
usrsctp, libSRTP, plog), FFmpeg slice, stb, QR Code generator, FSR 1 and
diff --git a/cmake/desktop_package.cmake b/cmake/desktop_package.cmake
index 4dc21d5..a0ebb22 100644
--- a/cmake/desktop_package.cmake
+++ b/cmake/desktop_package.cmake
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2026 RafaelNGP
-# The Linux package of the desktop app (psbox): install() rules and a CPack
-# TGZ, PSBox-<XC_PACKAGE_VERSION>-linux-x86_64.tar.gz, holding one folder:
+# The Linux package of the desktop app (psbox): install() rules for one
+# folder, which tools/desktop/package-appimage.sh installs into an AppImage
+# (PSBox-<XC_PACKAGE_VERSION>-linux-x86_64.AppImage; never a tarball):
#
# PSBox/psbox stripped, RUNPATH $ORIGIN/lib
# PSBox/lib/libSDL3.so.0 the SDL3 it was built with
@@ -12,7 +13,7 @@
# Only files named here go in: never a data folder (account.json, logs).
# The debug info stripped from psbox is kept in symbols/<XC_PACKAGE_VERSION>/
# psbox.debug (git-ignored), like the PS5's eboot.elf. tools/desktop/
-# package-linux.sh configures, builds, packs and checks it.
+# package-appimage.sh configures, builds, installs, packs and checks it.
set(XC_PACKAGE_VERSION "v${PROJECT_VERSION}-dev" CACHE STRING
"Version in the desktop package's name (tools/release.sh sets vX.Y.Z)")
@@ -99,13 +100,5 @@ else()
message(WARNING "SDL3's LICENSE.txt not found (XC_SDL3_LICENSE=<path>): the package will lack it")
endif()
-set(CPACK_GENERATOR TGZ)
-set(CPACK_PACKAGE_NAME PSBox)
-set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
-set(CPACK_PACKAGE_FILE_NAME "PSBox-${XC_PACKAGE_VERSION}-linux-x86_64")
-set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF)
-set(CPACK_ARCHIVE_COMPONENT_INSTALL OFF)
-set(CPACK_STRIP_FILES OFF)
-include(CPack)
unset(_pkg)
unset(_src)
diff --git a/docs/multiplatform.md b/docs/multiplatform.md
index 2053d24..4e345fd 100644
--- a/docs/multiplatform.md
+++ b/docs/multiplatform.md
@@ -146,7 +146,7 @@ shared code:
tests under wine; a Winsock socket layer; atomic writes with
`MoveFileExW`; a crash guard on SEH (splitting `crash_guard.cpp`).
- **M3, Linux** (done, below): the `linux-app` CI job (SDL3 built from its
- release, the app's self-test), the Linux tarball and its optional signed
+ release, the app's self-test), the Linux AppImage and its optional signed
release assets, the notices of what the desktop package carries. The
Windows half comes with M2.
- **Later**: FFmpeg hardware decoding, a desktop updater.
@@ -220,34 +220,35 @@ CI (`.github/workflows/ci.yml`), on every push and pull request:
|----------------|--------------------------------------------------------------------------------------|
| `triage-rules` | the issue triage rules' tests |
| `build` | `tools/check-platform-boundaries.sh`; the SDL-free build (`-DXCLOUD_DESKTOP_APP=OFF`: `psbox-headless`, `xcloud-cli`, `xcloud-tests`) and the unit tests |
-| `linux-app` | on ubuntu-24.04 (the package's glibc baseline, 2.39): SDL3 3.4.18 built from its release tarball with every backend loaded at run time (X11, Wayland, PulseAudio, PipeWire, ALSA, JACK...), cached in `~/.cache/xcloud-ps5/sdl3-<ver>`; `-DXCLOUD_DESKTOP_APP=ON`, the unit tests, `psbox --selftest` (offscreen video, dummy audio), `tools/desktop/package-linux.sh`; the tarball (`psbox-linux-x86_64`) and the self-test's screenshots uploaded as artifacts |
+| `linux-app` | on ubuntu-24.04 (the package's glibc baseline, 2.39): SDL3 3.4.18 built from its release tarball with every backend loaded at run time (X11, Wayland, PulseAudio, PipeWire, ALSA, JACK...), cached in `~/.cache/xcloud-ps5/sdl3-<ver>`; `-DXCLOUD_DESKTOP_APP=ON`, the unit tests, `psbox --selftest` (offscreen video, dummy audio), `tools/desktop/package-appimage.sh`; the AppImage (`psbox-linux-x86_64`) and the self-test's screenshots uploaded as artifacts |
| `account-data` | pull requests: no token or private file in the changes |
The PS5 build needs the PS5_Vulkan toolchain, so it isn't in CI:
`tools/release.sh` builds it.
-The package: `cmake/desktop_package.cmake` (install rules and CPack, Linux
-desktop builds only) and `tools/desktop/package-linux.sh`:
+The package is an AppImage, always (never a tarball): `cmake/desktop_package.cmake`
+(install rules, Linux desktop builds only) and `tools/desktop/package-appimage.sh`:
```bash
-tools/desktop/package-linux.sh build-desktop # -> build-desktop/pkg/PSBox-v<ver>-dev-linux-x86_64.tar.gz
-CMAKE_PREFIX_PATH=~/sdl3 tools/desktop/package-linux.sh build-linux /tmp/out # an SDL3 of your own
+tools/desktop/package-appimage.sh build-desktop # -> build-desktop/pkg/PSBox-v<ver>-dev-linux-x86_64.AppImage
+CMAKE_PREFIX_PATH=~/sdl3 tools/desktop/package-appimage.sh build-linux /tmp/out # an SDL3 of your own
```
It configures (`XCLOUD_DESKTOP_APP=ON`; a new build folder gets Ninja,
-RelWithDebInfo and clang), builds, packs with CPack and checks the tarball:
-nothing private (`account.json`, `autoplay.txt`, logs, captures, keys,
-settings/library caches), every file below present, `psbox`'s RUNPATH
-`$ORIGIN/lib` and `NEEDED libSDL3.so.0` resolved to the bundled copy, no
-debug sections, and `psbox --selftest` run from the unpacked folder with
-`LD_LIBRARY_PATH` unset (and nothing written into it). `XC_VERSION` names
-it (default `v<version>-dev`; `tools/release.sh --linux` passes `vX.Y.Z`).
+RelWithDebInfo and clang), builds, installs the folder below into an AppDir
+and checks it: nothing private (`account.json`, `autoplay.txt`, logs,
+captures, keys, settings/library caches), every file below present,
+`psbox`'s RUNPATH `$ORIGIN/lib` and `NEEDED libSDL3.so.0` resolved to the
+bundled copy, no debug sections. Then appimagetool packs it (the AppDir's
+`AppRun` starts `PSBox/psbox`; no FUSE needed to build it) and `psbox
+--selftest` runs from the AppImage with `LD_LIBRARY_PATH` unset. `XC_VERSION`
+names it (default `v<version>-dev`; `tools/release.sh --linux` passes `vX.Y.Z`).
```
PSBox/psbox stripped (--strip-debug); its debug info in symbols/<version>/psbox.debug
PSBox/lib/libSDL3.so.0 the SDL3 it was built with
PSBox/assets/ fonts and certificates (the repository's assets/, nothing from a data folder)
-PSBox/psbox.desktop menu entry (Exec= to point at the folder: README-linux.txt)
+PSBox/psbox.desktop menu entry (also the AppImage's own)
PSBox/psbox.png 256 px icon, drawn by xcloud-cli render-icon
PSBox/README-linux.txt running it, the data folder, hidraw / udev for DualSense features
PSBox/licenses/ LICENSE, THIRD_PARTY_NOTICES.md, Mbed TLS, libdatachannel, usrsctp,
@@ -256,9 +257,9 @@ PSBox/licenses/ LICENSE, THIRD_PARTY_NOTICES.md, Mbed TLS, libdatac
```
The release: `tools/release.sh <X.Y.Z> --linux` adds
-`PSBox-vX.Y.Z-linux-x86_64.tar.gz` with its `.sha256` and a `.sig` from the
+`PSBox-vX.Y.Z-linux-x86_64.AppImage` with its `.sha256` and a `.sig` from the
same key as `PPSA99810.zip`. They are optional; the three PS5 assets are
-not (`AGENTS.md`, section 6). A tarball built locally needs the glibc of
+not (`AGENTS.md`, section 6). An AppImage built locally needs the glibc of
the machine that built it (the script prints it). The desktop app never
installs an update: with `shell::canSelfUpdate()` false, `checkForUpdate()`
keeps no release to install and Settings > Updates opens the release page.
@@ -293,9 +294,10 @@ keeps no release to install and Settings > Updates opens the release page.
Publishing a GitHub release runs `.github/workflows/release-linux.yml`: the
same build as CI's `linux-app` job on ubuntu-24.04 (glibc 2.39), the
-self-test, then `PSBox-vX.Y.Z-linux-x86_64.tar.gz` and its `.sha256`
+self-test, then `PSBox-vX.Y.Z-linux-x86_64.AppImage` and its `.sha256`
attached to the release; `psbox.debug` is kept as a 90-day artifact. The
signature comes from the release machine, so the key never goes to GitHub:
-`tools/desktop/sign-linux-release.sh vX.Y.Z` downloads the tarball, checks
+`tools/desktop/sign-linux-release.sh vX.Y.Z` downloads the AppImage, checks
the checksum, signs it like the PS5 zip and uploads the `.sig`. The workflow
-can also be run by hand (Actions → "Release (Linux)", with the tag).
+can also be run by hand (Actions → "Release (Linux)", with the tag): it packs
+that tag's code with the current packaging script.
diff --git a/linux/README-linux.txt b/linux/README-linux.txt
index 2eb47b7..fc46a9a 100644
--- a/linux/README-linux.txt
+++ b/linux/README-linux.txt
@@ -13,36 +13,31 @@ Microsoft or Sony.
Running it
----------
-Unpack the archive anywhere and start PSBox/psbox:
+Make the AppImage executable and start it (on the Steam Deck too, in
+Desktop or Game mode):
- tar xf PSBox-@XC_PACKAGE_VERSION@-linux-x86_64.tar.gz
- PSBox/psbox # --windowed, --fullscreen, --data-dir <dir>
+ chmod +x PSBox-@XC_PACKAGE_VERSION@-linux-x86_64.AppImage
+ ./PSBox-@XC_PACKAGE_VERSION@-linux-x86_64.AppImage # --windowed, --fullscreen, --data-dir <dir>
-It runs from its folder: SDL3 is bundled in lib/ (psbox finds it on its
-own) and the fonts and certificates are in assets/. Needs an x86-64
+SDL3, the fonts and the certificates are inside it. Needs an x86-64
Linux with glibc 2.39 or newer (Ubuntu 24.04, Fedora 40, Debian 13 or
later), X11 or Wayland, and PulseAudio, PipeWire or ALSA.
F11 or Alt+Enter switches fullscreen; Settings > Display mode keeps it.
-
-Menu entry: copy psbox.desktop to ~/.local/share/applications/ and
-psbox.png to ~/.local/share/icons/, then point Exec= at this folder's
-psbox, e.g.
-
- sed "s|^Exec=.*|Exec=$PWD/PSBox/psbox|" PSBox/psbox.desktop \
- > ~/.local/share/applications/psbox.desktop
- cp PSBox/psbox.png ~/.local/share/icons/psbox.png
+Without FUSE, run it with APPIMAGE_EXTRACT_AND_RUN=1 set. A menu entry:
+an AppImage launcher (AppImageLauncher, Gear Lever) adds one, or add the
+AppImage to Steam as a non-Steam game.
Check without signing in (window, sound, input; screenshots in the
folder given):
- PSBox/psbox --selftest /tmp/psbox-selftest
+ ./PSBox-@XC_PACKAGE_VERSION@-linux-x86_64.AppImage --selftest /tmp/psbox-selftest
Your data
---------
Sign-in, settings, caches and the log (xcloud.log) are kept in
~/.local/share/psbox ($XDG_DATA_HOME/psbox, or $XCLOUD_DATA_DIR / --data-dir).
-Nothing is written to the PSBox folder. Signing out removes the sign-in;
+Nothing is written inside the AppImage. Signing out removes the sign-in;
deleting that folder resets the app.
@@ -68,8 +63,8 @@ are hidden.
Updates
-------
The app tells you in Settings > Updates when a new version is out and opens
-its page; it doesn't update itself. Download the new archive and replace
-the PSBox folder (your data stays in ~/.local/share/psbox).
+its page; it doesn't update itself. Download the new AppImage and use it
+in place of the old one (your data stays in ~/.local/share/psbox).
Licenses
@@ -77,6 +72,7 @@ Licenses
PSBox is GPL-3.0-or-later (licenses/LICENSE). It links Mbed TLS,
libdatachannel, usrsctp, libSRTP, plog, FFmpeg (LGPL-2.1, see
licenses/FFmpeg-NOTE.txt), stb, FSR 1 and Anime4K shaders (MIT), and bundles
-SDL3 (zlib) and the Inter fonts (OFL): their texts are in licenses/, the
-list in licenses/THIRD_PARTY_NOTICES.md. Source code: the repository at this
+SDL3 (zlib) and the Inter fonts (OFL): their texts are in PSBox/licenses/
+inside the AppImage (--appimage-extract unpacks it), the list in
+licenses/THIRD_PARTY_NOTICES.md. Source code: the repository at this
release's tag, https://github.com/RafaelNGP/xbox-cloud-gaming-ps5
diff --git a/tools/desktop/package-appimage.sh b/tools/desktop/package-appimage.sh
index 342c8e2..32bdd9e 100755
--- a/tools/desktop/package-appimage.sh
+++ b/tools/desktop/package-appimage.sh
@@ -1,11 +1,22 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2026 RafaelNGP
-# Packages PSBox Cloud Gaming as a standalone universal AppImage for Linux and Steam Deck.
+# Builds the Linux package of the desktop app, an AppImage (Linux and the
+# Steam Deck), and checks it. Releases ship this, never a tarball.
#
# tools/desktop/package-appimage.sh <build-dir> [out-dir]
-# -> <out-dir>/PSBox-<version>-x86_64.AppImage
+# -> <out-dir>/PSBox-<version>-linux-x86_64.AppImage (out-dir: <build-dir>/pkg)
#
+# Configures <build-dir> with the SDL3 app required (a new one: Ninja,
+# RelWithDebInfo, clang when installed; CMAKE_PREFIX_PATH finds an SDL3 of
+# your own), builds it and installs it into an AppDir with the install()
+# rules of cmake/desktop_package.cmake (one PSBox/ folder: psbox, the bundled
+# SDL3, assets, desktop entry, icon, README and licenses). Checks the folder:
+# the files it must hold, none it must not (sign-in, logs, captures, keys),
+# psbox's RUNPATH and bundled SDL3, no debug info. Packs it with appimagetool
+# and runs the AppImage's psbox --selftest with LD_LIBRARY_PATH unset.
+# XC_VERSION names it (default v<CMakeLists version>-dev); its debug info
+# goes to symbols/<version>/psbox.debug.
set -euo pipefail
build=${1:?usage: package-appimage.sh <build-dir> [out-dir]}
@@ -15,14 +26,12 @@ build=$(cd "$build" && pwd)
out=${2:-$build/pkg}
mkdir -p "$out"
out=$(cd "$out" && pwd)
-
fail() { echo "package-appimage: $*" >&2; exit 1; }
ok() { echo " ok $*"; }
project=$(sed -n 's/^project(xcloud_ps5 VERSION \([0-9.]*\) .*/\1/p' "$root/CMakeLists.txt")
-version=${XC_VERSION:-v$project}
-name=PSBox-$version-x86_64
-appimage_target=$out/$name.AppImage
+version=${XC_VERSION:-v$project-dev}
+appimage=$out/PSBox-$version-linux-x86_64.AppImage
echo "== configure and build ($build)"
args=(-DXCLOUD_DESKTOP_APP=ON "-DXC_PACKAGE_VERSION=$version")
@@ -34,110 +43,86 @@ if [[ ! -f $build/CMakeCache.txt ]]; then
fi
fi
cmake -S "$root" -B "$build" "${args[@]}" >/dev/null
-cmake --build "$build" --target psbox -j"$(nproc)"
+cmake --build "$build" -j"$(nproc)"
ok "built psbox ($version)"
-# Render icon if needed
-if [[ ! -f "$build/psbox.png" ]]; then
- cmake --build "$build" --target xcloud-cli -j"$(nproc)" >/dev/null
- "$build/xcloud-cli" render-icon "$build/psbox.png"
-fi
-
-appdir=$(mktemp -d /tmp/psbox-appdir-XXXXXX)
-trap 'rm -rf "$appdir"' EXIT
-
-echo "== prepare AppDir structure"
-mkdir -p "$appdir/usr/bin"
-mkdir -p "$appdir/usr/lib"
-mkdir -p "$appdir/usr/share/psbox/assets/fonts"
-mkdir -p "$appdir/usr/share/applications"
-mkdir -p "$appdir/usr/share/icons/hicolor/256x256/apps"
-mkdir -p "$appdir/usr/share/licenses/psbox"
-
-# Copy binary
-cp "$build/psbox" "$appdir/usr/bin/psbox"
-strip --strip-unneeded "$appdir/usr/bin/psbox" 2>/dev/null || true
-
-# Copy bundled SDL3
-sdl_lib=$(ldd "$build/psbox" | awk '/libSDL3\.so/ {print $3}' | head -n 1)
-if [[ -n "$sdl_lib" && -f "$sdl_lib" ]]; then
- cp -L "$sdl_lib" "$appdir/usr/lib/libSDL3.so.0"
- (cd "$appdir/usr/lib" && ln -sf libSDL3.so.0 libSDL3.so)
-fi
-
-# Assets
-cp "$root/assets/cacert.pem" "$appdir/usr/share/psbox/assets/"
-cp "$root/assets/fonts/Inter-Regular.ttf" "$appdir/usr/share/psbox/assets/fonts/"
-[[ -f "$root/assets/fonts/Inter-SemiBold.ttf" ]] && cp "$root/assets/fonts/Inter-SemiBold.ttf" "$appdir/usr/share/psbox/assets/fonts/"
-[[ -f "$root/assets/fonts/Inter-Bold.ttf" ]] && cp "$root/assets/fonts/Inter-Bold.ttf" "$appdir/usr/share/psbox/assets/fonts/"
-
-# Metadata & desktop integration
-cp "$root/linux/psbox.desktop" "$appdir/psbox.desktop"
-cp "$root/linux/psbox.desktop" "$appdir/usr/share/applications/psbox.desktop"
-cp "$build/psbox.png" "$appdir/psbox.png"
-cp "$build/psbox.png" "$appdir/.DirIcon"
-cp "$build/psbox.png" "$appdir/usr/share/icons/hicolor/256x256/apps/psbox.png"
-
-# Licenses
-cp "$root/LICENSE" "$appdir/usr/share/licenses/psbox/"
-cp "$root/THIRD_PARTY_NOTICES.md" "$appdir/usr/share/licenses/psbox/"
-
-# AppRun script (Steam Deck / Gamescope / Linux universal launcher)
-cat << 'EOF' > "$appdir/AppRun"
-#!/usr/bin/env bash
-set -e
-
-# Resolve AppDir directory
-HERE="$(dirname "$(readlink -f "${0}")")"
-
-export PATH="${HERE}/usr/bin:${PATH}"
-export LD_LIBRARY_PATH="${HERE}/usr/lib:${HERE}/lib:${LD_LIBRARY_PATH:-}"
-export XCLOUD_ASSETS="${HERE}/usr/share/psbox/assets"
-
-# Support Steam Deck / SteamOS Game Mode
-if [ -z "${XDG_DATA_HOME:-}" ]; then
- export XDG_DATA_HOME="${HOME}/.local/share"
-fi
-
-# Pass arguments directly to psbox
-exec "${HERE}/usr/bin/psbox" "$@"
+work=$(mktemp -d)
+trap 'rm -rf "$work"' EXIT
+appdir=$work/AppDir
+echo "== install into the AppDir"
+cmake --install "$build" --prefix "$appdir" >/dev/null
+pkg=$appdir/PSBox
+[[ -x $pkg/psbox ]] || fail "the install made no PSBox/psbox"
+
+echo "== checks in the package"
+list=$(cd "$appdir" && find PSBox | sort)
+private='(^|/)account\.json$|(^|/)autoplay\.txt$|\.log$|\.ppm$|\.aus$|\.h264$|\.pem$|\.key$|\.debug$|(^|/)settings\.json$|(^|/)library\.json$|(^|/)prices\.json$'
+# The CA bundle is the one .pem that belongs there.
+if grep -vx 'PSBox/assets/cacert.pem' <<<"$list" | grep -nE "$private"; then fail "a private file in the package"; fi
+ok "no private file ($(cd "$appdir" && find PSBox -type f | wc -l) files)"
+for f in psbox lib/libSDL3.so.0 psbox.desktop psbox.png README-linux.txt assets/cacert.pem assets/fonts/Inter-Regular.ttf \
+ licenses/LICENSE licenses/THIRD_PARTY_NOTICES.md licenses/FFmpeg-LGPL-2.1.txt licenses/FFmpeg-NOTE.txt \
+ licenses/SDL3-LICENSE.txt licenses/Inter-OFL.txt licenses/mbedtls-LICENSE.txt licenses/libdatachannel-MPL-2.0.txt \
+ licenses/usrsctp-LICENSE.md licenses/libsrtp-LICENSE.txt licenses/plog-LICENSE.txt licenses/stb-LICENSE.txt \
+ licenses/FSR1-MIT.txt licenses/Anime4K-MIT.txt; do
+ grep -qx "PSBox/$f" <<<"$list" || fail "missing PSBox/$f"
+done
+ok "app, SDL3, assets, desktop entry, icon, README and licenses in place"
+exe=$pkg/psbox
+readelf -d "$exe" | grep -E 'RUNPATH|RPATH' | grep -qF '[$ORIGIN/lib]' || fail "psbox's RUNPATH is not \$ORIGIN/lib"
+readelf -d "$exe" | grep -qF '[libSDL3.so.0]' || fail "psbox doesn't ask for libSDL3.so.0"
+if readelf -S "$exe" | grep -qE '\.debug_(info|line)'; then fail "psbox still carries its debug info"; fi
+[[ -s $root/symbols/$version/psbox.debug ]] || fail "symbols/$version/psbox.debug was not saved"
+grep -q "version $version" "$pkg/README-linux.txt" || fail "README-linux.txt is not at $version"
+ok "RUNPATH \$ORIGIN/lib, NEEDED libSDL3.so.0, stripped (symbols at symbols/$version/psbox.debug)"
+sdl=$(env -u LD_LIBRARY_PATH ldd "$exe" | awk '/libSDL3\.so\.0/ {print $3}')
+[[ $sdl == "$pkg/lib/libSDL3.so.0" ]] || fail "psbox loads SDL3 from '$sdl', not its own lib/"
+ok "the bundled SDL3 is the one loaded"
+
+# The AppDir's own files: the launcher (psbox finds SDL3 and its assets
+# beside itself), the desktop entry and the icon.
+cat >"$appdir/AppRun" <<'EOF'
+#!/bin/sh
+HERE=$(dirname "$(readlink -f "$0")")
+exec "$HERE/PSBox/psbox" "$@"
EOF
chmod +x "$appdir/AppRun"
-ok "AppDir populated at $appdir"
-
-echo "== obtain appimagetool"
-TOOL_DIR="$HOME/.cache/psbox-tool"
-mkdir -p "$TOOL_DIR"
-APPIMAGETOOL=""
-if command -v appimagetool >/dev/null 2>&1; then
- APPIMAGETOOL=$(command -v appimagetool)
-elif [[ -x "$TOOL_DIR/appimagetool" ]]; then
- APPIMAGETOOL="$TOOL_DIR/appimagetool"
-else
- echo " downloading appimagetool..."
- curl -sL -o "$TOOL_DIR/appimagetool" https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
- chmod +x "$TOOL_DIR/appimagetool"
- APPIMAGETOOL="$TOOL_DIR/appimagetool"
+cp "$pkg/psbox.desktop" "$appdir/psbox.desktop"
+cp "$pkg/psbox.png" "$appdir/psbox.png"
+cp "$pkg/psbox.png" "$appdir/.DirIcon"
+
+echo "== pack"
+tool=${APPIMAGETOOL:-}
+if [[ -z $tool ]]; then
+ if command -v appimagetool >/dev/null; then
+ tool=$(command -v appimagetool)
+ else
+ tool=$HOME/.cache/psbox-tool/appimagetool
+ if [[ ! -x $tool ]]; then
+ mkdir -p "$(dirname "$tool")"
+ curl -sSLf -o "$tool.part" \
+ https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage ||
+ fail "appimagetool could not be downloaded"
+ chmod +x "$tool.part"
+ mv "$tool.part" "$tool"
+ fi
+ fi
fi
-
-echo "== package AppImage ($appimage_target)"
-rm -f "$appimage_target"
-(
- export ARCH=x86_64
- export APPIMAGE_EXTRACT_AND_RUN=1
- "$APPIMAGETOOL" "$appdir" "$appimage_target" >/dev/null
-)
-
-[[ -s "$appimage_target" ]] || fail "Failed to generate $appimage_target"
-chmod +x "$appimage_target"
-ok "$appimage_target ($(du -h "$appimage_target" | cut -f1))"
-
-echo "== verify AppImage execution"
-mkdir -p "$build/appimage-test-data"
-if ! env -u LD_LIBRARY_PATH APPIMAGE_EXTRACT_AND_RUN=1 SDL_VIDEO_DRIVER=offscreen SDL_AUDIO_DRIVER=dummy \
- XCLOUD_DATA_DIR="$build/appimage-test-data" "$appimage_target" --help >/dev/null 2>&1; then
- fail "AppImage execution failed test verification"
+rm -f "$appimage"
+# APPIMAGE_EXTRACT_AND_RUN: no FUSE needed (CI runners have none).
+ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 "$tool" --no-appstream "$appdir" "$appimage" >"$work/pack.out" 2>&1 ||
+ { tail -20 "$work/pack.out"; fail "appimagetool failed"; }
+[[ -s $appimage ]] || fail "appimagetool made no $appimage"
+chmod +x "$appimage"
+ok "$appimage ($(du -h "$appimage" | cut -f1))"
+
+echo "== self-test of the AppImage"
+mkdir -p "$work/data" "$work/selftest"
+if ! env -u LD_LIBRARY_PATH -u XCLOUD_ASSETS APPIMAGE_EXTRACT_AND_RUN=1 SDL_VIDEO_DRIVER=offscreen SDL_AUDIO_DRIVER=dummy \
+ XCLOUD_DATA_DIR="$work/data" "$appimage" --selftest "$work/selftest" >"$work/selftest.out" 2>&1; then
+ tail -20 "$work/selftest.out"
+ fail "psbox --selftest failed from the AppImage"
fi
-ok "AppImage starts and responds correctly"
+ok "psbox --selftest passed from the AppImage ($(find "$work/selftest" -name '*.png' | wc -l) screenshots)"
-echo "$appimage_target"
+echo "$appimage"
diff --git a/tools/desktop/package-linux.sh b/tools/desktop/package-linux.sh
deleted file mode 100755
index 99cb08e..0000000
--- a/tools/desktop/package-linux.sh
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/usr/bin/env bash
-# SPDX-License-Identifier: GPL-3.0-or-later
-# Copyright (C) 2026 RafaelNGP
-# Builds the Linux package of the desktop app and checks it.
-#
-# tools/desktop/package-linux.sh <build-dir> [out-dir]
-# -> <out-dir>/PSBox-<version>-linux-x86_64.tar.gz (out-dir: <build-dir>/pkg)
-#
-# Configures <build-dir> with the SDL3 app required (a new one: Ninja,
-# RelWithDebInfo, clang when installed; CMAKE_PREFIX_PATH finds an SDL3 of
-# your own), builds it, packs it with CPack (cmake/desktop_package.cmake)
-# and checks the tarball: the files it must hold, none it must not (sign-in,
-# logs, captures, keys), psbox's RUNPATH and bundled SDL3, no debug info,
-# and psbox --selftest run from the unpacked folder with LD_LIBRARY_PATH
-# unset. XC_VERSION names it (default v<CMakeLists version>-dev); its
-# debug info goes to symbols/<version>/psbox.debug.
-set -euo pipefail
-
-build=${1:?usage: package-linux.sh <build-dir> [out-dir]}
-root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
-mkdir -p "$build"
-build=$(cd "$build" && pwd)
-out=${2:-$build/pkg}
-mkdir -p "$out"
-out=$(cd "$out" && pwd)
-fail() { echo "package-linux: $*" >&2; exit 1; }
-ok() { echo " ok $*"; }
-
-project=$(sed -n 's/^project(xcloud_ps5 VERSION \([0-9.]*\) .*/\1/p' "$root/CMakeLists.txt")
-version=${XC_VERSION:-v$project-dev}
-name=PSBox-$version-linux-x86_64
-tarball=$out/$name.tar.gz
-
-echo "== configure and build ($build)"
-args=(-DXCLOUD_DESKTOP_APP=ON "-DXC_PACKAGE_VERSION=$version")
-[[ -n ${CMAKE_PREFIX_PATH:-} ]] && args+=("-DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH")
-if [[ ! -f $build/CMakeCache.txt ]]; then
- args+=(-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo)
- if [[ -z ${CC:-} ]] && command -v clang >/dev/null && command -v clang++ >/dev/null; then
- args+=(-DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++)
- fi
-fi
-cmake -S "$root" -B "$build" "${args[@]}" >/dev/null
-cmake --build "$build" -j"$(nproc)"
-ok "built psbox ($version)"
-
-echo "== pack"
-rm -f "$tarball"
-(cd "$build" && cpack --config CPackConfig.cmake -B "$out" >/dev/null)
-rm -rf "$out/_CPack_Packages"
-[[ -s $tarball ]] || fail "CPack made no $tarball"
-ok "$tarball ($(du -h "$tarball" | cut -f1))"
-
-echo "== checks in the package"
-list=$(tar tzf "$tarball")
-private='(^|/)account\.json$|(^|/)autoplay\.txt$|\.log$|\.ppm$|\.aus$|\.h264$|\.pem$|\.key$|\.debug$|(^|/)settings\.json$|(^|/)library\.json$|(^|/)prices\.json$'
-# The CA bundle is the one .pem that belongs there.
-if grep -vx 'PSBox/assets/cacert.pem' <<<"$list" | grep -nE "$private"; then fail "a private file in the package"; fi
-if grep -vE '^PSBox(/|$)' <<<"$list"; then fail "entries outside PSBox/"; fi
-ok "no private file, everything under PSBox/ ($(grep -vc '/$' <<<"$list") files)"
-for f in psbox lib/libSDL3.so.0 psbox.desktop psbox.png README-linux.txt assets/cacert.pem assets/fonts/Inter-Regular.ttf \
- licenses/LICENSE licenses/THIRD_PARTY_NOTICES.md licenses/FFmpeg-LGPL-2.1.txt licenses/FFmpeg-NOTE.txt \
- licenses/SDL3-LICENSE.txt licenses/Inter-OFL.txt licenses/mbedtls-LICENSE.txt licenses/libdatachannel-MPL-2.0.txt \
- licenses/usrsctp-LICENSE.md licenses/libsrtp-LICENSE.txt licenses/plog-LICENSE.txt licenses/stb-LICENSE.txt \
- licenses/FSR1-MIT.txt licenses/Anime4K-MIT.txt; do
- grep -qx "PSBox/$f" <<<"$list" || fail "missing PSBox/$f"
-done
-ok "app, SDL3, assets, desktop entry, icon, README and licenses in place"
-
-unpack=$(mktemp -d)
-trap 'rm -rf "$unpack"' EXIT
-tar xzf "$tarball" -C "$unpack"
-exe=$unpack/PSBox/psbox
-readelf -d "$exe" | grep -E 'RUNPATH|RPATH' | grep -qF '[$ORIGIN/lib]' || fail "psbox's RUNPATH is not \$ORIGIN/lib"
-readelf -d "$exe" | grep -qF '[libSDL3.so.0]' || fail "psbox doesn't ask for libSDL3.so.0"
-if readelf -S "$exe" | grep -qE '\.debug_(info|line)'; then fail "psbox still carries its debug info"; fi
-[[ -s $root/symbols/$version/psbox.debug ]] || fail "symbols/$version/psbox.debug was not saved"
-grep -q "version $version" "$unpack/PSBox/README-linux.txt" || fail "README-linux.txt is not at $version"
-ok "RUNPATH \$ORIGIN/lib, NEEDED libSDL3.so.0, stripped (symbols at symbols/$version/psbox.debug)"
-sdl=$(env -u LD_LIBRARY_PATH ldd "$exe" | awk '/libSDL3\.so\.0/ {print $3}')
-[[ $sdl == "$unpack/PSBox/lib/libSDL3.so.0" ]] || fail "psbox loads SDL3 from '$sdl', not its own lib/"
-ok "the bundled SDL3 is the one loaded"
-
-before=$(cd "$unpack" && find PSBox | sort)
-mkdir -p "$unpack/data" "$unpack/selftest"
-if ! (cd "$unpack" && env -u LD_LIBRARY_PATH -u XCLOUD_ASSETS SDL_VIDEO_DRIVER=offscreen SDL_AUDIO_DRIVER=dummy \
- XCLOUD_DATA_DIR="$unpack/data" PSBox/psbox --selftest "$unpack/selftest" >"$unpack/selftest.out" 2>&1); then
- tail -20 "$unpack/selftest.out"
- fail "psbox --selftest failed from the unpacked folder"
-fi
-[[ $before == "$(cd "$unpack" && find PSBox | sort)" ]] || fail "the self-test wrote into the PSBox folder"
-ok "psbox --selftest passed from the unpacked folder ($(find "$unpack/selftest" -name '*.png' | wc -l) screenshots)"
-echo "$tarball"
diff --git a/tools/desktop/sign-linux-release.sh b/tools/desktop/sign-linux-release.sh
index ab94ad9..1d7321b 100755
--- a/tools/desktop/sign-linux-release.sh
+++ b/tools/desktop/sign-linux-release.sh
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2026 RafaelNGP
-# Signs the Linux tarball that .github/workflows/release-linux.yml attached
+# Signs the Linux AppImage that .github/workflows/release-linux.yml attached
# to a published release, on the release machine: the signing key never goes
-# to GitHub. Downloads the tarball and its checksum, checks the checksum,
+# to GitHub. Downloads the AppImage and its checksum, checks the checksum,
# signs it as tools/release.sh signs the PS5 zip, checks the signature with
# the key the app trusts, and uploads the .sig.
#
@@ -25,7 +25,7 @@ while read -r line; do
fail "$key is not the key src/app/updater.cpp trusts"
done <<<"$pub"
-name=PSBox-$tag-linux-x86_64.tar.gz
+name=PSBox-$tag-linux-x86_64.AppImage
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
gh release download "$tag" -p "$name" -p "$name.sha256" -D "$work" ||
diff --git a/tools/release.sh b/tools/release.sh
index cc75319..d1bc1da 100755
--- a/tools/release.sh
+++ b/tools/release.sh
@@ -13,12 +13,14 @@
# README.txt and param.json at this version, no token in eboot.bin, the
# version compiled in, the licenses). With --console (PS5_HOST set), a cloud
# and an own-Xbox stream on the console. With --linux, also the desktop
-# app's Linux tarball (tools/desktop/package-linux.sh in build-linux-release,
-# SDL3 from CMAKE_PREFIX_PATH or the system, bundled):
-# PSBox-vX.Y.Z-linux-x86_64.tar.gz + .sha256 + .sig, signed the same way,
+# app's Linux AppImage (tools/desktop/package-appimage.sh in
+# build-linux-release, SDL3 from CMAKE_PREFIX_PATH or the system, bundled;
+# Linux always ships as an AppImage, never a tarball):
+# PSBox-vX.Y.Z-linux-x86_64.AppImage + .sha256 + .sig, signed the same way,
# psbox checked for tokens and the version, its symbols in
-# symbols/vX.Y.Z/psbox.debug. Its glibc baseline is this machine's: CI's
-# linux-app job builds on ubuntu-24.04. The PS5 assets are always made and
+# symbols/vX.Y.Z/psbox.debug. Its glibc baseline is this machine's: the one
+# attached to a release is built by .github/workflows/release-linux.yml on
+# ubuntu-24.04. The PS5 assets are always made and
# always required; the Linux ones are optional (the desktop app only points
# to the release page). Last, it prints the commands that publish the
# release and the catalog record.
@@ -126,27 +128,30 @@ ok "certificates and licenses in place"
linux_assets=""
if [[ $linux == 1 ]]; then
echo "== Linux package"
- name=PSBox-$tag-linux-x86_64.tar.gz
- tarball=$out/$name
+ name=PSBox-$tag-linux-x86_64.AppImage
+ appimage=$out/$name
buildlog=$(mktemp)
- XC_VERSION="$tag" tools/desktop/package-linux.sh "$root/build-linux-release" "$out" >"$buildlog" 2>&1 ||
+ XC_VERSION="$tag" tools/desktop/package-appimage.sh "$root/build-linux-release" "$out" >"$buildlog" 2>&1 ||
{ tail -30 "$buildlog"; fail "the Linux package failed"; }
rm -f "$buildlog"
- [[ -s $tarball ]] || fail "no $tarball"
+ [[ -s $appimage ]] || fail "no $appimage"
[[ -s "$root/symbols/$tag/psbox.debug" ]] || fail "symbols/$tag/psbox.debug was not saved"
- ok "$name ($(du -h "$tarball" | cut -f1)) built, checked and self-tested by package-linux.sh"
- if tar tzf "$tarball" | grep -nE "$private|\.elf$|\.debug$"; then fail "a private or symbol file in the Linux package"; fi
- exe=$(mktemp)
- tar xzf "$tarball" -O PSBox/psbox >"$exe"
- if grep -aqE "$tokens" "$exe"; then rm -f "$exe"; fail "psbox holds something like a token"; fi
- grep -aq "$version" "$exe" || { rm -f "$exe"; fail "psbox doesn't carry version $version (stale build?)"; }
+ ok "$name ($(du -h "$appimage" | cut -f1)) built, checked and self-tested by package-appimage.sh"
+ unpack=$(mktemp -d)
+ (cd "$unpack" && "$appimage" --appimage-extract >/dev/null 2>&1) || { rm -rf "$unpack"; fail "$name doesn't unpack"; }
+ if (cd "$unpack/squashfs-root" && find . -type f) | grep -nE "$private|\.elf$|\.debug$"; then
+ rm -rf "$unpack"; fail "a private or symbol file in the Linux package"
+ fi
+ exe=$unpack/squashfs-root/PSBox/psbox
+ if grep -aqE "$tokens" "$exe"; then rm -rf "$unpack"; fail "psbox holds something like a token"; fi
+ grep -aq "$version" "$exe" || { rm -rf "$unpack"; fail "psbox doesn't carry version $version (stale build?)"; }
glibc=$(objdump -T "$exe" | grep -o 'GLIBC_[0-9.]*' | sort -uV | tail -1)
- rm -f "$exe"
+ rm -rf "$unpack"
ok "psbox: no token, version $version compiled in, needs ${glibc:-?} (this machine's baseline)"
(cd "$out" && sha256sum "$name" > "$name.sha256")
- sign "$tarball"
- ok "signed: $tarball.sig"
- linux_assets=" \"$tarball\" \"$tarball.sha256\" \"$tarball.sig\""
+ sign "$appimage"
+ ok "signed: $appimage.sig"
+ linux_assets=" \"$appimage\" \"$appimage.sha256\" \"$appimage.sig\""
fi
if [[ $console == 1 ]]; then