mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2025-05-05 16:02:48 +00:00
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:
parent
e5fbc44297
commit
7b5bfd2743
@ -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>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
Cemu_functions () {
|
||||
local function="$1"
|
||||
|
@ -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' \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://luna.amazon.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.amazon.com/video"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://tv.apple.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.crave.ca/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.crunchyroll.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://discord.com/app"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.disneyplus.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://emby.media/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.max.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://demo.home-assistant.io/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.hulu.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="http://localhost:8096"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://nebula.tv/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.netflix.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.paramountplus.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.peacocktv.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://app.plex.tv/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://play.pocketcasts.com"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://open.spotify.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.tiktok.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.twitch.tv/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://twitter.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://vimeo.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.xbox.com/play"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://music.youtube.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://tv.youtube.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://www.youtube.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
LINK="https://play.webrcade.com/"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
## launcherFunctions.sh
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
source $HOME/.config/EmuDeck/backend/functions/all.sh
|
||||
emulatorInit "cemu-native"
|
||||
# shellcheck disable=SC1091
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
source $HOME/.config/EmuDeck/backend/functions/all.sh
|
||||
emulatorInit "Cemu"
|
||||
# cemu.sh
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
# xenia.sh
|
||||
source $HOME/.config/EmuDeck/backend/functions/all.sh
|
||||
emulatorInit "xenia"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
## proton-launch.sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user