Last active
March 25, 2024 21:48
-
-
Save KyodaiKen/a521feff8e52c7d21e4322443d2d53f7 to your computer and use it in GitHub Desktop.
Linux: Update Discord instantly
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
#!/bin/bash | |
wget "https://discord.com/api/download?platform=linux&format=tar.gz" -O discord-update.tar.gz | |
tar xvf discord-update.tar.gz | |
rm discord-update.tar.gz | |
#Change the next two lines below to point to your discord installation in your particular Linux distribution or setup. This may require root privileges! | |
rm -rf /opt/discord/* | |
cp -r Discord/* /opt/discord/ | |
rm -rf Discord |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment