mirror of https://git.suyu.dev/suyu/suyu.git
26 lines
554 B
Bash
Executable File
26 lines
554 B
Bash
Executable File
#! /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
|