Delete hydro-uninstaller-with-fart.sh
parent
731935a270
commit
3a30365c02
|
@ -1,87 +0,0 @@
|
|||
# hey gang
|
||||
|
||||
main() {
|
||||
mv hydro-uninstaller-with-fart.sh hydro-uninstaller.sh
|
||||
clear
|
||||
echo "\033[1;33mWarning\033[0m: This is an \033[1;31munofficial\033[0m application created by @2killq."
|
||||
sleep 1
|
||||
echo "Exit & Delete: Press 1"
|
||||
echo "Continue: Press any key"
|
||||
|
||||
read -n 1 -s user_input
|
||||
|
||||
if [ "$user_input" == "1" ]; then
|
||||
echo "Deleting Hydrogen Uninstaller"
|
||||
rm -rf hydro-uninstaller.sh
|
||||
exit 0
|
||||
else
|
||||
echo "Continuing..."
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
echo """
|
||||
██╗ ██╗██╗ ██╗██████╗ ██████╗ ██████╗ ██████╗ ███████╗███╗ ██╗
|
||||
██║ ██║╚██╗ ██╔╝██╔══██╗██╔══██╗██╔═══██╗██╔════╝ ██╔════╝████╗ ██║
|
||||
███████║ ╚████╔╝ ██║ ██║██████╔╝██║ ██║██║ ███╗█████╗ ██╔██╗ ██║
|
||||
██╔══██║ ╚██╔╝ ██║ ██║██╔══██╗██║ ██║██║ ██║██╔══╝ ██║╚██╗██║
|
||||
██║ ██║ ██║ ██████╔╝██║ ██║╚██████╔╝╚██████╔╝███████╗██║ ╚████║
|
||||
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝
|
||||
Unofficial Uninstaller - Built by 2killq
|
||||
"""
|
||||
|
||||
if [ -d "/Applications/Hydrogen.app" ]; then
|
||||
echo "[-] Removing /Applications/Hydrogen.app..."
|
||||
rm -rf "/Applications/Hydrogen.app"
|
||||
else
|
||||
echo "[!] Hydrogen Application not found!"
|
||||
fi
|
||||
|
||||
if [ -d "/Users/$USER/Hydrogen" ]; then
|
||||
echo "[-] Removing /Users/$USER/Hydrogen..."
|
||||
rm -rf "/Users/$USER/Hydrogen"
|
||||
else
|
||||
echo "[!] Hydrogen Folder not found!"
|
||||
fi
|
||||
|
||||
if [ -d "/Applications/Roblox.app" ]; then
|
||||
echo "[-] Removing /Applications/Roblox.app..."
|
||||
rm -rf "/Applications/Roblox.app"
|
||||
else
|
||||
echo "[!] Roblox app not found!"
|
||||
fi
|
||||
|
||||
echo "[+] Installing jq (Helper Tool)"
|
||||
cd /tmp
|
||||
|
||||
curl --progress-bar -L -o jq "https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-macos-amd64"
|
||||
chmod +x ./jq
|
||||
|
||||
echo "[+] Downloading Latest Roblox..."
|
||||
|
||||
[ -f ./RobloxPlayer.zip ] && rm ./RobloxPlayer.zip
|
||||
|
||||
local version=$(curl -s "https://clientsettingscdn.roblox.com/v2/client-version/MacPlayer" | ./jq -r ".clientVersionUpload")
|
||||
|
||||
curl --progress-bar "http://setup.rbxcdn.com/mac/$version-RobloxPlayer.zip" -o "./RobloxPlayer.zip"
|
||||
|
||||
echo "[-] Removing jq (Helper Tool)"
|
||||
rm -rf ./jq
|
||||
|
||||
echo "[+] Installing Latest Roblox..."
|
||||
|
||||
unzip -qo "./RobloxPlayer.zip"
|
||||
mv ./RobloxPlayer.app /Applications/Roblox.app
|
||||
rm ./RobloxPlayer.zip
|
||||
echo "[+] Uninstalled Hydrogen for macOS. Thanks for using Hydrogen!"
|
||||
echo "[+] Script by @2killq"
|
||||
echo "[-] Removing Hydro Uninstaller"
|
||||
cd
|
||||
curl -s https://nullstate.net/fart.mp3 -o fart.mp3
|
||||
afplay fart.mp3
|
||||
rm -rf fart.mp3
|
||||
rm -rf hydro-uninstaller.sh
|
||||
exit
|
||||
}
|
||||
|
||||
main
|
Loading…
Reference in New Issue