move vars to the top of script

This commit is contained in:
Samuel authored and GitHub committed 2026-11-07 04:39:29 -04:00
1 parent e1fb872122
commit 6dc76c08fb
1 file changed
+3 -5
+3 -5
View File
@@ -4,6 +4,9 @@ set -ex
export ARCH="$(uname -m)"
export VERSION=${1:-test}
export ADD_HOOKS="self-updater.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export DESKTOP="$PWD"/SDL/PPSSPPSDL.desktop
export ICON="$PWD"/icons/hicolor/256x256/apps/ppsspp.png
export DEPLOY_OPENGL=1
export DEPLOY_VULKAN=1
@@ -13,11 +16,6 @@ QUICK_SHARUN="https://raw.githubusercontent.com/pkgforge-dev/Anylinux-AppImages/
# ADD LIBRARIES
wget "$QUICK_SHARUN" -O ./quick-sharun
chmod +x ./quick-sharun
export ADD_HOOKS="self-updater.hook"
export UPINFO="gh-releases-zsync|${GITHUB_REPOSITORY%/*}|${GITHUB_REPOSITORY#*/}|latest|*$ARCH.AppImage.zsync"
export DESKTOP="$PWD"/SDL/PPSSPPSDL.desktop
./quick-sharun ./build/PPSSPPSDL ./build/PPSSPPHeadless
# copy assets dir needs to be next to the binary