From 0c7fbe8982bf0ee47834a0877a97242cbd57b98f Mon Sep 17 00:00:00 2001 From: virt <121334908+virt-10@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:28:17 -0500 Subject: [PATCH] fix: linux appimage black screen Not sure it this is the correct way, but it fixed the missing libs error. --- .github/workflows/build-linux.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 5ed20d5c..b4fcdd66 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -88,7 +88,10 @@ jobs: chmod +x AppDir/maid echo '#!/bin/bash HERE="$(dirname "$(readlink -f "${0}")")" - exec "$HERE/maid" "$@"' > AppDir/AppRun + ( + export LD_LIBRARY_PATH="${HERE}/lib:${LD_LIBRARY_PATH}" + exec "${HERE}/maid" "$@" + )' > AppDir/AppRun chmod +x AppDir/AppRun - name: Create AppImage