From 361e28396f098fa4c3a85f7fc2c0cb302028a528 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 7 Sep 2022 20:29:23 +0200 Subject: [PATCH] Removed unused fix theme tool --- es-configs/tools-gamelist.xml | 7 ------- tools/theme-fix.sh | 31 ------------------------------- 2 files changed, 38 deletions(-) delete mode 100644 tools/theme-fix.sh diff --git a/es-configs/tools-gamelist.xml b/es-configs/tools-gamelist.xml index 2df4ef4f..3a838881 100644 --- a/es-configs/tools-gamelist.xml +++ b/es-configs/tools-gamelist.xml @@ -84,13 +84,6 @@ true true --> - - ./theme-fix.sh - Theme fix - 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. - true - true - ./configure-emulators.sh Configure Emulators diff --git a/tools/theme-fix.sh b/tools/theme-fix.sh deleted file mode 100644 index 66c71254..00000000 --- a/tools/theme-fix.sh +++ /dev/null @@ -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." \ No newline at end of file