mirror of
https://github.com/Febbweiss/rclone_script.git
synced 2026-03-04 14:15:38 +00:00
Fixed regression when using the default save filter to not find saves for games with spaces in their name
This commit is contained in:
@@ -12,7 +12,10 @@
|
|||||||
<emulator>
|
<emulator>
|
||||||
<name>ppsspp</name>
|
<name>ppsspp</name>
|
||||||
<saveFilePath>/opt/retropie/configs/psp/</saveFilePath>
|
<saveFilePath>/opt/retropie/configs/psp/</saveFilePath>
|
||||||
<saveStatePath>/opt/retropie/configs/psp/PSP/PPSSPP_STATE</saveStatePath>
|
<saveStatePath>/opt/retropie/configs/psp/PSP/PPSSPP_STATE</saveFilePath>
|
||||||
|
<saveStateFileExtensions enable="true">
|
||||||
|
<ext>state</ext>
|
||||||
|
</saveStateFileExtensions>
|
||||||
<saveFileExtensions>
|
<saveFileExtensions>
|
||||||
<ext>SYS</ext>
|
<ext>SYS</ext>
|
||||||
<ext>PNG</ext>
|
<ext>PNG</ext>
|
||||||
|
|||||||
@@ -169,6 +169,7 @@ function prepareSaveFilters ()
|
|||||||
localFilter="${romfilebase//\[/\\[}"
|
localFilter="${romfilebase//\[/\\[}"
|
||||||
localFilter="${localFilter//\]/\\]}.*"
|
localFilter="${localFilter//\]/\\]}.*"
|
||||||
remoteFilter="${localFilter}"
|
remoteFilter="${localFilter}"
|
||||||
|
localFilter=("-iname" "${localFilter}")
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
@@ -336,7 +337,7 @@ function uploadSaves ()
|
|||||||
|
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
localfiles=$(find ${saveFilePath} -type f "${localFilter[@]}")
|
localfiles=$(find ${saveFilePath} -type f "${localFilter[@]}")
|
||||||
|
|
||||||
if [ "${localfiles}" = "" ]
|
if [ "${localfiles}" = "" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user