Files
ppsspp/scripts/makeappimage_64-bit.sh
Henrik RydgårdandClaude Opus 5.5 ba54d88d16 AppImage: Also package PPSSPPHeadless, as an AppImage of its own
Built in the same job, uploaded with the PPSSPP AppImage and attached to
releases. Its .zsync isn't shipped, since already-installed PPSSPP
AppImages update from any *<arch>.AppImage.zsync in the release. The
PPSSPP AppImage's own pattern now starts with PPSSPP- for the future.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-22 19:40:03 +02:00

55 lines
1.5 KiB
Bash

#!/bin/sh
set -ex
export ARCH="$(uname -m)"
export VERSION=${1:-test}
export ICON="$PWD"/icons/hicolor/256x256/apps/ppsspp.png
export DEPLOY_OPENGL=1
export DEPLOY_VULKAN=1
QUICK_SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/refs/heads/main/useful-tools/quick-sharun.sh"
# ADD LIBRARIES
wget "$QUICK_SHARUN" -O ./quick-sharun
chmod +x ./quick-sharun
(
export ADD_HOOKS="self-updater.hook"
# PPSSPP-, so the headless AppImage's .zsync can't match.
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|PPSSPP-*$ARCH.AppImage.zsync"
export DESKTOP="$PWD"/SDL/PPSSPPSDL.desktop
./quick-sharun ./build/PPSSPPSDL
# copy assets dir needs to be next to the binary
cp -vr ./build/assets ./AppDir/bin
# Make AppImage with uruntime
./quick-sharun --make-appimage
)
# PPSSPPHeadless, in an AppImage of its own.
(
export APPDIR="$PWD"/AppDir-headless
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|PPSSPPHeadless-*$ARCH.AppImage.zsync"
export DESKTOP="$PWD"/PPSSPPHeadless.desktop
cat > "$DESKTOP" <<-EOF
[Desktop Entry]
Name=PPSSPPHeadless
Exec=PPSSPPHeadless
Comment=PPSSPP without a UI, for tests and scripting
Icon=ppsspp
Type=Application
Terminal=true
NoDisplay=true
Categories=Game;Emulator;
EOF
./quick-sharun ./build/PPSSPPHeadless
cp -vr ./build/assets "$APPDIR"/bin
./quick-sharun --make-appimage
)
# Old PPSSPP AppImages update from any *$ARCH.AppImage.zsync in the release, so don't ship this one.
rm -f ./PPSSPPHeadless*.zsync