checkBIOS: Detect Ryujinx instead of Yuzu (#1146)

* BIOS Checker now checks for the presence of both Ryujinx keys and firmware instead of checking for Yuzu keys
* If both keys and firmware are not in place (if one is missing), checker will fail
This commit is contained in:
rawdatafeel 2024-03-22 05:44:40 -04:00 committed by GitHub
parent 876c13dd12
commit b95c23456d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,9 +66,10 @@ checkPS2BIOS(){
}
checkYuzuBios(){
FILE="$HOME/.local/share/yuzu/keys/prod.keys"
if [ -f "$FILE" ]; then
RYUJINXFIRMWARE="$HOME/.config/Ryujinx/bis/system/Contents/registered"
RYUJINXKEYS="$HOME/.config/Ryujinx/system/prod.keys"
if [[ -f "$RYUJINXKEYS" ]] && [[ "$( ls -A "$RYUJINXFIRMWARE")" ]]; then
echo "true";
else
echo "false";