Skip to content

Commit

Permalink
old zip
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoonDorise committed Dec 28, 2024
1 parent e387038 commit df7c35c
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 @@ -134,21 +134,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" ".7z")"
local DeckyControls_releaseURL="$(getLatestReleaseURLGH "EmuDeck/decky-rom-library" ".zip")"
mkdir -p "$HOME/homebrew/plugins/"
Plugins_installPluginLoader $password
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.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 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 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
rm -rf $destinationFolder
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 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 chown $USER:$USER -R $HOME/homebrew/plugins/decky-rom-library
fi
#RAachievemets
Expand Down

0 comments on commit df7c35c

Please sign in to comment.