mirror of
https://github.com/dragoonDorise/EmuDeck.git
synced 2024-05-10 08:54:14 -04:00
setup.sh: Remove EmuDecky install (#1145)
* This was installing decky loader and emudecky without the user realizing
This commit is contained in:
parent
12f7386acd
commit
876c13dd12
32
setup.sh
32
setup.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue