mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-20 13:17:55 -04:00
shellcheck fixes
This commit is contained in:
parent
5edd34e2c0
commit
ff10956da5
|
@ -12,7 +12,7 @@ setSetting doSetupDrastic false
|
|||
case $devicePower in
|
||||
"0")
|
||||
|
||||
emulators==$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
emulators=$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
--checklist "If you want to keep your custom setting for some emus, leave them unchecked. Checked means we will overwrite your configuration" 10 80 4 \
|
||||
"RA" "RetroArch - Classic 2D and 3D Games" ON \
|
||||
"DOLPHIN" "Dolphin - GameCube and Wii" ON \
|
||||
|
@ -26,7 +26,7 @@ case $devicePower in
|
|||
;;
|
||||
"1")
|
||||
|
||||
emulators==$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
emulators=$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
--checklist "If you want to keep your custom setting for some emus, leave them unchecked. Checked means we will overwrite your configuration" 10 80 4 \
|
||||
"RA" "RetroArch - Classic 2D and 3D Games" ON \
|
||||
"DOLPHIN" "Dolphin - GameCube and Wii" ON \
|
||||
|
@ -40,7 +40,7 @@ case $devicePower in
|
|||
;;
|
||||
"2")
|
||||
|
||||
emulators==$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
emulators=$(whiptail --title "Overwrrite Emulators Settings?" \
|
||||
--checklist "If you want to keep your custom setting for some emus, leave them unchecked. Checked means we will overwrite your configuration" 10 80 4 \
|
||||
"RA" "RetroArch - Classic 2D and 3D Games" ON \
|
||||
"DOLPHIN" "Dolphin - GameCube and Wii" ON \
|
||||
|
@ -61,25 +61,25 @@ mapfile -t settingsEmus <<< $emulators
|
|||
|
||||
for settingsEmu in ${settingsEmus[@]};
|
||||
do
|
||||
if [[ $settingsEmu == *"RA"* ]]; then
|
||||
if [[ $settingsEmu = *"RA"* ]]; then
|
||||
setSetting doSetupRA true
|
||||
fi
|
||||
if [[ $settingsEmu == *"DOLPHIN"* ]]; then
|
||||
if [[ $settingsEmu = *"DOLPHIN"* ]]; then
|
||||
setSetting doSetupDolphin true
|
||||
fi
|
||||
if [[ $settingsEmu == *"DUCK"* ]]; then
|
||||
if [[ $settingsEmu = *"DUCK"* ]]; then
|
||||
setSetting doSetupDuck true
|
||||
fi
|
||||
if [[ $settingsEmu == *"AETHERSX2"* ]]; then
|
||||
if [[ $settingsEmu = *"AETHERSX2"* ]]; then
|
||||
setSetting doSetupPCSX2 true
|
||||
fi
|
||||
if [[ $settingsEmu == *"CITRA"* ]]; then
|
||||
if [[ $settingsEmu = *"CITRA"* ]]; then
|
||||
setSetting doSetupCitra true
|
||||
fi
|
||||
if [[ $settingsEmu == *"PPSSPP"* ]]; then
|
||||
if [[ $settingsEmu = *"PPSSPP"* ]]; then
|
||||
setSetting doSetupPPSSPP true
|
||||
fi
|
||||
if [[ $settingsEmu == *"SKYLINE"* ]]; then
|
||||
if [[ $settingsEmu = *"SKYLINE"* ]]; then
|
||||
setSetting doSetupSkyline true
|
||||
fi
|
||||
done
|
|
@ -73,7 +73,7 @@ esac
|
|||
|
||||
mapfile -t settingsEmus <<< $emulators
|
||||
|
||||
for settingsEmu in ${settingsEmus[@]};
|
||||
for settingsEmu in "${settingsEmus[@]}";
|
||||
do
|
||||
if [[ $settingsEmu == *"RA"* ]]; then
|
||||
setSetting doInstallRA true
|
||||
|
|
|
@ -22,7 +22,7 @@ if [ $android -gt 10 ]; then
|
|||
mapfile -t settingsFrontends <<< $frontends
|
||||
|
||||
|
||||
for settingsFrontend in ${settingsFrontends[@]};
|
||||
for settingsFrontend in "${settingsFrontends[@]}";
|
||||
do
|
||||
if [[ $settingsFrontend == *"PEGASUS"* ]]; then
|
||||
setSetting doInstallPegasus true
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
##!/bin/bash
|
||||
#!/bin/bash
|
||||
# themesQ=$(whiptail --title "Pegasus Theme" \
|
||||
# --checklist "What Pegasus theme do you want to install" 10 80 4 \
|
||||
# "EPIC" "RP - Epic Noir" ON \
|
||||
|
|
Loading…
Reference in a new issue