AppImage runtime scripts rewrite (now functional on Steam Deck!)
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#! /bin/bash
|
||||
|
||||
cd "$APPDIR"
|
||||
|
||||
# default qt5 location
|
||||
if [ -d /usr/lib/x86_64-linux-gnu/qt5 ]; then
|
||||
exec ./yuzu-bwrap.sh "$@"
|
||||
else
|
||||
# qt5 on Steam Deck (as qt)
|
||||
if [ -d /usr/lib/qt ]; then
|
||||
exec ./yuzu-bwrap.sh "$@"
|
||||
else
|
||||
# default qt6 location
|
||||
if [ -d /usr/lib/x86_64-linux-gnu/qt6 ]; then
|
||||
exec ./yuzu-bwrap.sh "$@"
|
||||
else
|
||||
# qt6 on Steam Deck
|
||||
if [ -d /usr/lib/qt6 ]; then
|
||||
exec ./yuzu-bwrap.sh "$@"
|
||||
else
|
||||
exec ./yuzu.sh "$@"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
BIN
AppImageBuilder/assets_x86_64/bwrap
Executable file
BIN
AppImageBuilder/assets_x86_64/bwrap
Executable file
Binary file not shown.
1
AppImageBuilder/assets_x86_64/bwrap-info.txt
Normal file
1
AppImageBuilder/assets_x86_64/bwrap-info.txt
Normal file
@@ -0,0 +1 @@
|
||||
This is a statically compiled bubblewrap 0.9.0 executable.
|
||||
@@ -1,21 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
# default qt5 location
|
||||
if [ -d /usr/lib/x86_64-linux-gnu/qt5 ]; then
|
||||
exec ./bwrap --dev-bind / / --tmpfs /usr/lib/x86_64-linux-gnu/qt5 ./yuzu.sh "$@"
|
||||
else
|
||||
# qt5 on Steam Deck (as qt)
|
||||
if [ -d /usr/lib/qt ]; then
|
||||
exec ./bwrap --dev-bind / / --tmpfs /usr/lib/qt ./yuzu.sh "$@"
|
||||
else
|
||||
# default qt6 location
|
||||
if [ -d /usr/lib/x86_64-linux-gnu/qt6 ]; then
|
||||
exec ./bwrap --dev-bind / / --tmpfs /usr/lib/x86_64-linux-gnu/qt6 ./yuzu.sh "$@"
|
||||
else
|
||||
# qt6 on Steam Deck
|
||||
if [ -d /usr/lib/qt6 ]; then
|
||||
exec ./bwrap --dev-bind / / --tmpfs /usr/lib/qt6 ./yuzu.sh "$@"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -1,2 +0,0 @@
|
||||
#! /bin/sh
|
||||
LD_LIBRARY_PATH=/usr/lib/$(uname -m)-linux-gnu:. QT_QPA_PLATFORM=xcb QT_PLUGIN_PATH=. exec ./yuzu "$@"
|
||||
Reference in New Issue
Block a user