mirror of
https://notabug.org/litucks/torzu.git
synced 2025-04-24 09:05:13 +00:00
- fixed AppImage not accepting arguments (for example -f -g ROM_file to start directly) - adjusted AppImage build.sh so it can find Qt libs on Fedora (#98) - perl-Digest-SHA package is needed for shasum on Fedora - added option do disable linking against LLVM 17 (Steam Deck specific) - updated build-for-linux.md (Steam Deck specific)
22 lines
695 B
Bash
Executable File
22 lines
695 B
Bash
Executable File
#! /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
|