Skip to content

Instantly share code, notes, and snippets.

@KyodaiKen
Last active March 25, 2024 21:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KyodaiKen/a521feff8e52c7d21e4322443d2d53f7 to your computer and use it in GitHub Desktop.
Save KyodaiKen/a521feff8e52c7d21e4322443d2d53f7 to your computer and use it in GitHub Desktop.
Linux: Update Discord instantly
#!/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