setup.sh: Remove EmuDecky install (#1145)

* This was installing decky loader and emudecky without the user realizing
This commit is contained in:
rawdatafeel 2024-03-22 05:44:04 -04:00 committed by GitHub
parent 12f7386acd
commit 876c13dd12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -475,38 +475,6 @@ fi
##
#
if [ "$system" != "darwin" ]; then
#If the user is not using chimera we assume he has no pass ( deck user )
if [ "$system" = "chimeraos" ]; then
password="gamer"
else
password="Decky!"
fi
#We try to create a temp password
pwstatus=0
yes "$password" | passwd $(whoami) && echo "$password" | sudo -v -S &>/dev/null && pwstatus=1 || echo "Password already set, we do nothing..." #refresh sudo cache
# We install everything in case we've succesfully created a password
if [ $pwstatus = 1 ]; then
if ( echo "$password" | sudo -S -k true ); then
echo $password | sudo -v -S && {
Plugins_installEmuDecky $password
if [ "$system" == "chimeraos" ]; then
Plugins_installPowerControl $password
else
Plugins_installPowerTools $password
fi
Plugins_installPluginLoader $password
}
fi
if [ $password = "Decky!" ]; then
Plugins_install_cleanup "Decky!"
fi
fi
fi
#GyroDSU
#Plugins_installSteamDeckGyroDSU