mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 22:15:39 +00:00
Removed unused fix theme tool
This commit is contained in:
parent
60e5eb0ecf
commit
361e28396f
|
@ -84,13 +84,6 @@
|
|||
<nogamecount>true</nogamecount>
|
||||
<nomultiscrape>true</nomultiscrape>
|
||||
</game> -->
|
||||
<game>
|
||||
<path>./theme-fix.sh</path>
|
||||
<name>Theme fix</name>
|
||||
<desc>Clean some of the scraped data in order to beautify the new theme. This is needed if you got scraped data since v0.4.2 or earlier.</desc>
|
||||
<nogamecount>true</nogamecount>
|
||||
<nomultiscrape>true</nomultiscrape>
|
||||
</game>
|
||||
<game>
|
||||
<path>./configure-emulators.sh</path>
|
||||
<name>Configure Emulators</name>
|
||||
|
|
|
@ -1,31 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
zenity \
|
||||
--icon-name=net.retrodeck.retrodeck \
|
||||
--question \
|
||||
--no-wrap \
|
||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
--ok-label "Yes" \
|
||||
--cancel-label "No" \
|
||||
--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
|
||||
then
|
||||
find ~/retrodeck/.downloaded_media -name miximages -type d -print0|xargs -0 rm -rfv --
|
||||
find ~/retrodeck/.downloaded_media -name 3dboxes -type d -print0|xargs -0 rm -rfv --
|
||||
find ~/retrodeck/.downloaded_media -name titlescreens -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 -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
|
||||
|
||||
zenity \
|
||||
--icon-name=net.retrodeck.retrodeck \
|
||||
--info \
|
||||
--no-wrap \
|
||||
--window-icon="/app/share/icons/hicolor/scalable/apps/net.retrodeck.retrodeck.svg" \
|
||||
--title "RetroDECK" \
|
||||
--text="Scraped data is now cleaned and fixed, please restart RetroDECK to reload the games list."
|
Loading…
Reference in a new issue