mirror of
https://github.com/RetroPie/RetroPie-Setup.git
synced 2025-04-02 10:51:41 -04:00
skyscraper - prevent hall-of-mirrors effect (#3704)
patch config.ini: don't cache already-processed screenshots from local source 'esgamelist'
This commit is contained in:
parent
ec8713bd50
commit
693dbfd02e
1 changed files with 4 additions and 1 deletions
|
@ -210,7 +210,10 @@ function _init_config_skyscraper() {
|
|||
done
|
||||
|
||||
# If we don't have a previous config.ini file, copy the example one
|
||||
[[ ! -f "$scraper_conf_dir/config.ini" ]] && cp "$md_inst/config.ini.example" "$scraper_conf_dir/config.ini"
|
||||
if [[ ! -f "$scraper_conf_dir/config.ini" ]]; then
|
||||
cp "$md_inst/config.ini.example" "$scraper_conf_dir/config.ini"
|
||||
sed -i 's/\[esgamelist\]/[esgamelist]\ncacheScreenshots="false"/' "$scraper_conf_dir/config.ini"
|
||||
fi
|
||||
|
||||
# Try to find the rest of the necessary files from the qmake build file
|
||||
# They should be listed in the `unix:examples.file` configuration line
|
||||
|
|
Loading…
Add table
Reference in a new issue