From 4995b139940444be039e3796883bec59e1d8cb8d Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Fri, 16 Jul 2021 20:46:59 -0700 Subject: [PATCH] Build: Add Nix dependencies Add libthai.so.0 --- .github/workflows/scripts/linux/appimage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scripts/linux/appimage.sh b/.github/workflows/scripts/linux/appimage.sh index a30af47f13..e5dd57158d 100755 --- a/.github/workflows/scripts/linux/appimage.sh +++ b/.github/workflows/scripts/linux/appimage.sh @@ -6,9 +6,11 @@ echo "${PLATFORM}" if [ "${PLATFORM}" == "x86" ]; then APPARCH="i686" ARCH="i386" + LIBARCH="i386-linux-gnu" else APPARCH="x86_64" ARCH="x86_64" + LIBARCH="x86_64-linux-gnu" fi BUILDPATH="$GITHUB_WORKSPACE"/build BUILDBIN="$BUILDPATH"/pcsx2 @@ -45,8 +47,8 @@ mkdir -p "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app cp -r "$GITHUB_WORKSPACE"/bin/Langs "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/ cp "$GITHUB_WORKSPACE"/bin/docs/{Configuration_Guide.pdf,PCSX2_FAQ.pdf} "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app cp "$GITHUB_WORKSPACE"/bin/cheats_ws.zip "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app - cp ./bin/GameIndex.yaml "$GITHUB_WORKSPACE"/squashfs-root/usr/bin/app/GameIndex.yaml +cp /usr/lib/$LIBARCH/libthai.so.0 "$GITHUB_WORKSPACE"/squashfs-root/usr/lib/ export UPD_INFO="gh-releases-zsync|PCSX2|pcsx2|latest|$name.AppImage.zsync" export OUTPUT="$name.AppImage" /tmp/squashfs-root/AppRun --appdir="$GITHUB_WORKSPACE"/squashfs-root/ --plugin gtk -d "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.desktop -i "$GITHUB_WORKSPACE"/squashfs-root/PCSX2.png --output appimage