From b5d2dfbe2d08c124a3f91502eab2c3e4b01345af Mon Sep 17 00:00:00 2001 From: ashuntu Date: Thu, 31 Oct 2024 15:09:50 +0100 Subject: [PATCH] fix: Use correct MangoHUD path on 32-bit games --- snap/snapcraft.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 074f314..bb3ee94 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -284,10 +284,11 @@ parts: - libwayland-dev - libxkbcommon-dev:i386 - libxkbcommon-dev - # Fixes the $LIB being escaped for some reason + stage-packages: + - libxkbcommon0:i386 override-build: | craftctl default - sed -i 's/\/usr\/\\\$LIB/\$SNAP\/usr\/lib\/x86_64-linux-gnu/' $CRAFT_PART_INSTALL/usr/bin/mangohud + sed -i 's/\/usr\/\\\$LIB/\$SNAP\/usr\/\\\$LIB/' $CRAFT_PART_INSTALL/usr/bin/mangohud mangohud64: after: [meson-deps, mangohud]