Compare commits

...

2 commits

Author SHA1 Message Date
rawdatafeel d195be9537
Merge branch 'main' into patch-1 2024-05-10 00:05:40 -04:00
Dragoon Dorise d6467d5cce no netplay 2024-05-08 20:47:37 +02:00

View file

@ -944,18 +944,18 @@ function emulatorInit(){
local emuName=$1
#isLatestVersionGH "$emuName"
#NetPlay
if [ "$emuName" = 'retroarch' ]; then
if [ "$netPlay" == "true" ]; then
#Looks for devices listening
setSetting netplayCMD "-H"
sleep 2
netplaySetIP
else
setSetting netplayCMD "' '"
cloud_sync_downloadEmu "$emuName" && cloud_sync_startService
fi
source $HOME/.config/EmuDeck/backend/functions/all.sh
fi
#if [ "$emuName" = 'retroarch' ]; then
# if [ "$netPlay" == "true" ]; then
# #Looks for devices listening
# setSetting netplayCMD "-H"
# sleep 2
# netplaySetIP
# else
# setSetting netplayCMD "' '"
# cloud_sync_downloadEmu "$emuName" && cloud_sync_startService
# fi
# source $HOME/.config/EmuDeck/backend/functions/all.sh
#fi
if [ "$emuName" != 'retroarch' ]; then
cloud_sync_downloadEmu "$emuName" && cloud_sync_startService