Last active
June 18, 2024 21:49
-
-
Save iGlitch/fc469247484179beb1ed889604772c12 to your computer and use it in GitHub Desktop.
BetterDiscord Automatic Manual Installer - Mac OS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -d "/Applications/Discord.app" ]; then | |
pkill -x Discord | |
rm -rf /Applications/Discord.app/Contents/Resources/app | |
wget -q https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip | |
unzip -qq injector.zip | |
rm -rf injector.zip | |
mv BetterDiscordApp-injector app | |
mv app /Applications/Discord.app/Contents/Resources/ | |
chown -R $(whoami) /Applications/Discord.app/Contents/Resources/app | |
echo "BD updated, you may now open Discord" | |
fi | |
if [ -d "/Applications/Discord PTB.app" ]; then | |
pkill -x "Discord PTB" | |
rm -rf "/Applications/Discord PTB.app/Contents/Resources/app" | |
wget -q https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip | |
unzip -qq injector.zip | |
rm -rf injector.zip | |
mv BetterDiscordApp-injector app | |
mv app "/Applications/Discord PTB.app/Contents/Resources/" | |
chown -R $(whoami) "/Applications/Discord PTB.app/Contents/Resources/app" | |
echo "BD updated, you may now open Discord PTB" | |
fi | |
if [ -d "/Applications/Discord Canary.app" ]; then | |
pkill -x "Discord Canary" | |
rm -rf "/Applications/Discord Canary.app/Contents/Resources/app" | |
wget -q https://github.com/rauenzi/BetterDiscordApp/archive/injector.zip | |
unzip -qq injector.zip | |
rm -rf injector.zip | |
mv BetterDiscordApp-injector app | |
mv app "/Applications/Discord Canary.app/Contents/Resources/" | |
chown -R $(whoami) "/Applications/Discord Canary.app/Contents/Resources/app" | |
echo "BD updated, you may now open Discord Canary" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for making this! Feels right at home as a script in Raycast.
Required
wget
as dependency. Easily installed withbrew install wget
.Also had to rename something from...
to