From bcc5455975ad94a3a3e191ce8b1c85c3440693dd Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Mon, 13 Jan 2025 07:32:52 -0400 Subject: [PATCH] Update dolphin-emu-appimage.sh --- dolphin-emu-appimage.sh | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/dolphin-emu-appimage.sh b/dolphin-emu-appimage.sh index de31764..dce523f 100644 --- a/dolphin-emu-appimage.sh +++ b/dolphin-emu-appimage.sh @@ -39,26 +39,26 @@ cp -r /usr/local/share/dolphin-emu/sys ./bin/Sys # Deploy Qt manually xd mkdir -p ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/iconengines ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/platforms ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/platformthemes ./shared/lib/qt6/plugins || true -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/styles ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/xcbglintegrations ./shared/lib/qt6/plugins -cp -vr /usr/lib/x86_64-linux-gnu/qt6/plugins/wayland-* ./shared/lib/qt6/plugins || true +cp -vr /usr/lib/qt6/plugins/iconengines ./shared/lib/qt6/plugins +cp -vr /usr/lib/qt6/plugins/imageformats ./shared/lib/qt6/plugins +cp -vr /usr/lib/qt6/plugins/platforms ./shared/lib/qt6/plugins +cp -vr /usr/lib/qt6/plugins/platformthemes ./shared/lib/qt6/plugins || true +cp -vr /usr/lib/qt6/plugins/styles ./shared/lib/qt6/plugins +cp -vr /usr/lib/qt6/plugins/xcbglintegrations ./shared/lib/qt6/plugins +cp -vr /usr/lib/qt6/plugins/wayland-* ./shared/lib/qt6/plugins || true ldd ./shared/lib/qt6/plugins/*/* 2>/dev/null \ | awk -F"[> ]" '{print $4}' | xargs -I {} cp -nv {} ./shared/lib || true # Bundle pipewire and alsa -cp -vr /usr/lib/x86_64-linux-gnu/pipewire-0.3 ./shared/lib -cp -vr /usr/lib/x86_64-linux-gnu/spa-0.2 ./shared/lib -cp -vr /usr/lib/x86_64-linux-gnu/alsa-lib ./shared/lib +cp -vr /usr/lib/pipewire-0.3 ./shared/lib +cp -vr /usr/lib/spa-0.2 ./shared/lib +cp -vr /usr/lib/alsa-lib ./shared/lib # add gpu libs -cp -vr /usr/lib/x86_64-linux-gnu/libGLX* ./shared/lib || true -cp -vr /usr/lib/x86_64-linux-gnu/libEGL* ./shared/lib || true -cp -vr /usr/lib/x86_64-linux-gnu/dri ./shared/lib -cp -vn /usr/lib/x86_64-linux-gnu/libvulkan* ./shared/lib +cp -vr /usr/lib/libGLX* ./shared/lib || true +cp -vr /usr/lib/libEGL* ./shared/lib || true +cp -vr /usr/lib/dri ./shared/lib +cp -vn /usr/lib/libvulkan* ./shared/lib ldd ./shared/lib/dri/* \ ./shared/lib/libvulkan* \ ./shared/lib/libEGL* \ @@ -71,10 +71,6 @@ cp -vr /usr/share/glvnd ./share cp -vr /usr/share/vulkan/icd.d ./share/vulkan sed -i 's|/usr/lib||g;s|/.*-linux-gnu||g;s|"/|"|g' ./share/vulkan/icd.d/* -if [ -f ./shared/lib/libLLVM-17.so.1 ]; then - ln -s ./libLLVM-17.so.1 ./shared/lib/libLLVM.so.18.1 || true -fi - # Prepare sharun ln ./sharun ./AppRun ./sharun -g