From b9ded0f433ed0522b9e990c6b7392e359b115d88 Mon Sep 17 00:00:00 2001 From: ashuntu <101582426+ashuntu@users.noreply.github.com> Date: Tue, 3 Oct 2023 12:12:57 -0500 Subject: [PATCH 1/2] Add fuse2 --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 1a1572a..13c7523 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -376,6 +376,8 @@ parts: - locales-all - usbutils # Allows finding controllers etc - psmisc + - libfuse2:amd64 + - libfuse2:i386 override-build: | craftctl default # Set the snap version from the .deb package version From b939f77d3b342622a77bc6ab532c1c5bf2e30e8a Mon Sep 17 00:00:00 2001 From: Zoe Spellman Date: Wed, 7 Aug 2024 12:52:25 -0700 Subject: [PATCH 2/2] force appimages to extract before running --- src/desktop-launch | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/desktop-launch b/src/desktop-launch index 61a7166..084cf80 100755 --- a/src/desktop-launch +++ b/src/desktop-launch @@ -347,6 +347,13 @@ strip_unreachable_dirs XDG_DATA_DIRS strip_unreachable_dirs XDG_CONFIG_DIRS strip_unreachable_dirs XDG_SPECIAL_DIRS +# Even with libfuse, appimages need to be extracted to run. +# This is a workaround until we figure out something better, because it makes +# launching AppImage games way slower +# +# That said, they're really rare so it's not a big deal +export APPIMAGE_EXTRACT_AND_RUN=1 + $SNAP/bin/nvidia32 & "$@" killall steam-runtime-launcher-service