Add rff ext to scanner and uncopy raze.pk3, which should be picked up by raze.ini config in a separate fix
This commit is contained in:
parent
73a8ae249f
commit
5a4cfcbe95
1 changed files with 1 additions and 2 deletions
|
@ -9,11 +9,10 @@ RAZEPATH="/storage/roms/build"
|
|||
|
||||
clear >/dev/console
|
||||
echo "Scanning for games..." >/dev/console
|
||||
grp_files=$(find "${RAZEPATH}" -type f -iname "*.grp")
|
||||
grp_files=$(find "${RAZEPATH}" -type f \( -iname "*.grp" -o -iname "*.rff" \))
|
||||
echo "Adding games..." >/dev/console
|
||||
while read -r grp_file; do
|
||||
abs_path=$(dirname "${grp_file}")
|
||||
cp -f /storage/.config/game/raze/raze.pk3 "${abs_path}/raze.pk3"
|
||||
path=${abs_path#"$RAZEPATH/"}
|
||||
if [[ "$path" =~ \ |\' ]]; then
|
||||
path="\"${path}\""
|
||||
|
|
Loading…
Reference in a new issue