THEME: updated Art-Book and enhanced the theme-fix tool to support it

This commit is contained in:
xargon 2022-07-05 10:37:53 +02:00
parent 4216708a09
commit dae7d63b5f
2 changed files with 5 additions and 3 deletions

View file

@ -218,7 +218,7 @@ modules:
sources: sources:
- type: git - type: git
url: https://github.com/anthonycaccese/art-book-next-retropie.git url: https://github.com/anthonycaccese/art-book-next-retropie.git
commit: 9c5312084bb4b906da5b610fd50bab2afe697cac commit: ca380c9e97f7b720eb6e2d50bbd42f97bcafcb3a
# External manifests start # External manifests start

View file

@ -8,7 +8,7 @@ zenity \
--title "RetroDECK" \ --title "RetroDECK" \
--ok-label "Yes" \ --ok-label "Yes" \
--cancel-label "No" \ --cancel-label "No" \
--text="This tool is will clean some unuseful scraped data in order to beautify the theme.\nDo you want to delete them?" --text="This tool is will clean some unuseful scraped data in order to beautify the theme.\nDo you want to delete and fix it?"
if [ $? == 0 ] #yes - Internal if [ $? == 0 ] #yes - Internal
then then
@ -18,6 +18,8 @@ then
find ~/retrodeck/.downloaded_media -name backcovers -type d -print0|xargs -0 rm -rfv -- find ~/retrodeck/.downloaded_media -name backcovers -type d -print0|xargs -0 rm -rfv --
find ~/retrodeck/.downloaded_media -namephysicalmedia -type d -print0|xargs -0 rm -rfv -- find ~/retrodeck/.downloaded_media -namephysicalmedia -type d -print0|xargs -0 rm -rfv --
find ~/retrodeck/.downloaded_media -namescreenshots -type d -print0|xargs -0 rm -rfv -- find ~/retrodeck/.downloaded_media -namescreenshots -type d -print0|xargs -0 rm -rfv --
rm -rf ~/retrodeck/.downloaded_media/thumbnails
ln -s ~/retrodeck/.downloaded_media/covers ~/retrodeck/.downloaded_media/thumbnails
fi fi
zenity \ zenity \
@ -26,4 +28,4 @@ zenity \
--no-wrap \ --no-wrap \
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \ --window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
--title "RetroDECK" \ --title "RetroDECK" \
--text="Scraped data is now cleaned, please restart RetroDECK to reload the games list." --text="Scraped data is now cleaned and fixed, please restart RetroDECK to reload the games list."