move all /bin/sh and /usr/bin/bash to /bin/bash (#972)

Co-authored-by: Dragoon Dorise <rodrigosedano@me.com>
This commit is contained in:
Griffin 2024-01-30 12:07:58 -08:00 committed by GitHub
parent e5fbc44297
commit 7b5bfd2743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 46 additions and 46 deletions

View file

@ -5,8 +5,8 @@
<fullname>Nintendo Wii U</fullname>
<path>%ROMPATH%/wiiu/roms</path>
<extension>.rpx .RPX .wud .WUD .wux .WUX .elf .ELF .iso .ISO .wad .WAD .wua .WUA</extension>
<command label="Cemu (Proton)">/usr/bin/bash /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -w -f -g z:%ROM%</command>
<command label="Cemu (Native)">/usr/bin/bash /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -f -g %ROM%</command>
<command label="Cemu (Proton)">/bin/bash /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -w -f -g z:%ROM%</command>
<command label="Cemu (Native)">/bin/bash /run/media/mmcblk0p1/Emulation/tools/launchers/cemu.sh -f -g %ROM%</command>
<platform>wiiu</platform>
<theme>wiiu</theme>
</system>

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
Cemu_functions () {
local function="$1"

View file

@ -73,7 +73,7 @@ Xenia_addESConfig(){
--subnode '$newSystem' --type elem --name 'fullname' -v 'Microsoft Xbox 360' \
--subnode '$newSystem' --type elem --name 'path' -v '%ROMPATH%/xbox360/roms' \
--subnode '$newSystem' --type elem --name 'extension' -v '.iso .ISO . .xex .XEX' \
--subnode '$newSystem' --type elem --name 'commandP' -v "/usr/bin/bash ${toolsPath}/launchers/xenia.sh z:%ROM%" \
--subnode '$newSystem' --type elem --name 'commandP' -v "/bin/bash ${toolsPath}/launchers/xenia.sh z:%ROM%" \
--insert '$newSystem/commandP' --type attr --name 'label' --value "Xenia (Proton)" \
--subnode '$newSystem' --type elem --name 'platform' -v 'xbox360' \
--subnode '$newSystem' --type elem --name 'theme' -v 'xbox360' \

View file

@ -174,9 +174,9 @@ ESDE_addCustomSystems(){
--subnode '$newSystem' --type elem --name 'fullname' -v 'Nintendo Wii U' \
--subnode '$newSystem' --type elem --name 'path' -v '%ROMPATH%/wiiu/roms' \
--subnode '$newSystem' --type elem --name 'extension' -v '.rpx .RPX .wud .WUD .wux .WUX .elf .ELF .iso .ISO .wad .WAD .wua .WUA' \
--subnode '$newSystem' --type elem --name 'commandP' -v "/usr/bin/bash ${toolsPath}/launchers/cemu.sh -f -g z:%ROM%" \
--subnode '$newSystem' --type elem --name 'commandP' -v "/bin/bash ${toolsPath}/launchers/cemu.sh -f -g z:%ROM%" \
--insert '$newSystem/commandP' --type attr --name 'label' --value "Cemu (Native)" \
--subnode '$newSystem' --type elem --name 'commandN' -v "/usr/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g %ROM%" \
--subnode '$newSystem' --type elem --name 'commandN' -v "/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g %ROM%" \
--insert '$newSystem/commandN' --type attr --name 'label' --value "Cemu (Proton)" \
--subnode '$newSystem' --type elem --name 'platform' -v 'wiiu' \
--subnode '$newSystem' --type elem --name 'theme' -v 'wiiu' \
@ -219,7 +219,7 @@ ESDE_setEmulationFolder(){
if [[ ! $(grep -rnw "$es_systemsFile" -e 'wiiu') == "" ]]; then
if [[ $(grep -rnw "$es_systemsFile" -e 'Cemu (Proton)') == "" ]]; then
#insert
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="wiiu"]' --type elem --name 'commandP' -v "/usr/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g z:%ROM%" \
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="wiiu"]' --type elem --name 'commandP' -v "/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g z:%ROM%" \
--insert 'systemList/system/commandP' --type attr --name 'label' --value "Cemu (Proton)" \
-r 'systemList/system/commandP' -v 'command' \
"$es_systemsFile"
@ -228,12 +228,12 @@ ESDE_setEmulationFolder(){
xmlstarlet fo "$es_systemsFile" > "$es_systemsFile".tmp && mv "$es_systemsFile".tmp "$es_systemsFile"
else
#update
cemuProtonCommandString="/usr/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g z:%ROM%"
cemuProtonCommandString="/bin/bash ${toolsPath}/launchers/cemu.sh -w -f -g z:%ROM%"
xmlstarlet ed -L -u '/systemList/system/command[@label="Cemu (Proton)"]' -v "$cemuProtonCommandString" "$es_systemsFile"
fi
if [[ $(grep -rnw "$es_systemsFile" -e 'Cemu (Native)') == "" ]]; then
#insert
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="wiiu"]' --type elem --name 'commandN' -v "/usr/bin/bash ${toolsPath}/launchers/cemu.sh -f -g %ROM%" \
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="wiiu"]' --type elem --name 'commandN' -v "/bin/bash ${toolsPath}/launchers/cemu.sh -f -g %ROM%" \
--insert 'systemList/system/commandN' --type attr --name 'label' --value "Cemu (Native)" \
-r 'systemList/system/commandN' -v 'command' \
"$es_systemsFile"
@ -242,14 +242,14 @@ ESDE_setEmulationFolder(){
xmlstarlet fo "$es_systemsFile" > "$es_systemsFile".tmp && mv "$es_systemsFile".tmp "$es_systemsFile"
else
#update
cemuNativeCommandString="/usr/bin/bash ${toolsPath}/launchers/cemu.sh -f -g %ROM%"
cemuNativeCommandString="/bin/bash ${toolsPath}/launchers/cemu.sh -f -g %ROM%"
xmlstarlet ed -L -u '/systemList/system/command[@label="Cemu (Native)"]' -v "$cemuNativeCommandString" "$es_systemsFile"
fi
fi
if [[ ! $(grep -rnw "$es_systemsFile" -e 'xbox360') == "" ]]; then
if [[ $(grep -rnw "$es_systemsFile" -e 'Xenia (Proton)') == "" ]]; then
#insert
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="xbox360"]' --type elem --name 'commandP' -v "/usr/bin/bash ${toolsPath}/launchers/xenia.sh %ROM%" \
xmlstarlet ed -S --inplace --subnode 'systemList/system[name="xbox360"]' --type elem --name 'commandP' -v "/bin/bash ${toolsPath}/launchers/xenia.sh %ROM%" \
--insert 'systemList/system/commandP' --type attr --name 'label' --value "Xenia (Proton)" \
-r 'systemList/system/commandP' -v 'command' \
"$es_systemsFile"
@ -258,7 +258,7 @@ ESDE_setEmulationFolder(){
xmlstarlet fo "$es_systemsFile" > "$es_systemsFile".tmp && mv "$es_systemsFile".tmp "$es_systemsFile"
else
#update
xeniaProtonCommandString="/usr/bin/bash ${toolsPath}/launchers/xenia.sh %ROM%"
xeniaProtonCommandString="/bin/bash ${toolsPath}/launchers/xenia.sh %ROM%"
xmlstarlet ed -L -u '/systemList/system/command[@label="Xenia (Proton)"]' -v "$xeniaProtonCommandString" "$es_systemsFile"
fi
fi

View file

@ -8,7 +8,7 @@ Supported file extensions:
.rpx .RPX .wud .WUD .wux .WUX .elf .ELF .iso .ISO .wad .WAD .wua .WUA
Launch command:
/usr/bin/bash /run/media/external/Emulation/tools/launchers/cemu.sh -f -g z:%ROM%
/bin/bash /run/media/external/Emulation/tools/launchers/cemu.sh -f -g z:%ROM%
Platform (for scraping):
wiiu

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://luna.amazon.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.amazon.com/video"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://tv.apple.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.crave.ca/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.crunchyroll.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://discord.com/app"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.disneyplus.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://emby.media/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.max.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://demo.home-assistant.io/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.hulu.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="http://localhost:8096"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://nebula.tv/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.netflix.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.paramountplus.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.peacocktv.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://app.plex.tv/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://play.pocketcasts.com"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://open.spotify.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.tiktok.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.twitch.tv/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://twitter.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://vimeo.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.xbox.com/play"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://music.youtube.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://tv.youtube.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://www.youtube.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
LINK="https://play.webrcade.com/"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
## launcherFunctions.sh

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
source $HOME/.config/EmuDeck/backend/functions/all.sh
emulatorInit "cemu-native"
# shellcheck disable=SC1091

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
source $HOME/.config/EmuDeck/backend/functions/all.sh
emulatorInit "Cemu"
# cemu.sh

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
# xenia.sh
source $HOME/.config/EmuDeck/backend/functions/all.sh
emulatorInit "xenia"

View file

@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/bin/bash
## proton-launch.sh