From b5d870b29f28a6328ab16f8cb5519b66c1107662 Mon Sep 17 00:00:00 2001 From: Sthope Date: Thu, 25 Apr 2024 17:29:49 +0200 Subject: [PATCH] Update dolphin_gamecube.sh --- dolphin_gamecube.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphin_gamecube.sh b/dolphin_gamecube.sh index 2ee906e..fe73230 100644 --- a/dolphin_gamecube.sh +++ b/dolphin_gamecube.sh @@ -34,7 +34,7 @@ fi # If it is Zip/7z extract before running the Rom via Dolphin if [[ $extension == "zip" || $extension == "7z" ]]; then - # sudo rm -rf $GAMECUBE_FOLDER/.tmp + # rm -rf $GAMECUBE_FOLDER/.tmp 7z x "$1" -o$GAMECUBE_FOLDER/.tmp if [ $? -ne 0 ]; then echo "Extraction failed." @@ -43,7 +43,7 @@ if [[ $extension == "zip" || $extension == "7z" ]]; then $DOLPHIN "$GAMECUBE_FOLDER/.tmp/$ROM" # Delete extracted rom after playing - sudo rm -rf $GAMECUBE_FOLDER/.tmp + rm -rf $GAMECUBE_FOLDER/.tmp elif [[ $extension == "iso" || $extension == "rvz" ]]; then $DOLPHIN "$1"