Ryujinx Script update

This commit is contained in:
mason 2023-03-15 22:46:24 +00:00
parent 21454165c7
commit ae58c23595
No known key found for this signature in database
GPG key ID: 84D9278A11FA112B

View file

@ -40,7 +40,12 @@ ln -sf /storage/roms/bios/ryujinx/keys /storage/.config/Ryujinx/system
fi
#Always grab the latest ryujinx bin
cp -r "/usr/config/Ryujinx/Ryujinx" "/storage/.config/Ryujinx/Ryujinx"
shasum1=$(sha1sum /usr/config/Ryujinx/Ryujinx | awk '{print $1}')
shasum2=$(sha1sum /storage/.config/Ryujinx/Ryujinx | awk '{print $1}')
if [ "$shasum1" <> "$shasum2" ]; then
cp -r "/usr/config/Ryujinx/Ryujinx" "/storage/.config/Ryujinx/Ryujinx"
fi
#Run Yuzu emulator
if [ "$SUI" = "1" ]