Skip to content

Commit

Permalink
Add fuse (#317)
Browse files Browse the repository at this point in the history
Fixes the initial error with Fuse/Appimage games. Games still have mount
permissions errors
  • Loading branch information
ashuntu authored Aug 7, 2024
2 parents 5a4ff63 + b939f77 commit 9c126bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions src/desktop-launch
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9c126bf

Please sign in to comment.