Skip to content

Commit

Permalink
Merge branch 'dev' into early-unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 8, 2024
2 parents 77c80a1 + 710d084 commit 615de76
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions functions/ToolScripts/emuDeckPlugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,21 @@ Plugins_installDeckyRomLibrary(){
echo "Installing Decky Rom Library"
local password=$1
local destinationFolder="$HOME/homebrew/plugins/decky-rom-library"
local DeckyControls_releaseURL="$(getLatestReleaseURLGH "EmuDeck/decky-rom-library" ".zip")"
local DeckyControls_releaseURL="$(getLatestReleaseURLGH "EmuDeck/decky-rom-library" ".7z")"
mkdir -p "$HOME/homebrew/plugins/"
if [ -d "$HOME/homebrew" ]; then
Plugins_checkPassword $password
echo $password | sudo -S rm -rf $destinationFolder
echo $password | sudo -S curl -L "$DeckyControls_releaseURL" -o "$HOME/homebrew/plugins/decky-rom-library.zip"
echo $password | sudo -S unzip "$HOME/homebrew/plugins/decky-rom-library.zip" -d "$HOME/homebrew/plugins/" && echo $password | sudo -S rm "$HOME/homebrew/plugins/decky-rom-library.zip"
echo $password | sudo -S curl -L "$DeckyControls_releaseURL" -o "$HOME/homebrew/plugins/decky-rom-library.7z"
echo $password | sudo -S unzip "$HOME/homebrew/plugins/decky-rom-library.7z" -d "$HOME/homebrew/plugins/" && echo $password | sudo -S rm "$HOME/homebrew/plugins/decky-rom-library.7z"
echo $password | sudo -S chown $USER:$USER -R $HOME/homebrew/plugins/decky-rom-library
echo $password | sudo -S chmod 555 -R $HOME/homebrew/plugins/decky-rom-library
Plugins_install_cleanup $password
else
Plugins_installPluginLoader $password
rm -rf $destinationFolder
echo $password | sudo -S curl -L "$DeckyControls_releaseURL" -o "$HOME/homebrew/plugins/decky-rom-library.zip"
echo $password | sudo -S unzip "$HOME/homebrew/plugins/decky-rom-library.zip" -d "$HOME/homebrew/plugins/" && sudo rm "$HOME/homebrew/plugins/decky-rom-library.zip"
echo $password | sudo -S curl -L "$DeckyControls_releaseURL" -o "$HOME/homebrew/plugins/decky-rom-library.7z"
echo $password | sudo -S unzip "$HOME/homebrew/plugins/decky-rom-library.7z" -d "$HOME/homebrew/plugins/" && sudo rm "$HOME/homebrew/plugins/decky-rom-library.7z"
echo $password | sudo -S chown $USER:$USER -R $HOME/homebrew/plugins/decky-rom-library
fi
#RAachievemets
Expand Down

0 comments on commit 615de76

Please sign in to comment.