Created
July 11, 2024 00:18
-
-
Save IanSapp128/eac3dc39793584a7a0e9eb03e392fd37 to your computer and use it in GitHub Desktop.
Bash script to remove the Discord folder and replace it with the latest version from their official server.
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
#!/usr/bin/env bash | |
rm -r Discord | |
wget "https://discord.com/api/download/stable?platform=linux&format=tar.gz" -O discord.tar.gz | |
tar -xvf discord.tar.gz -C . | |
rm discord.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Drop this script anywhere and give it a run. It'll download the latest tar from the Discord server and unpack it into a folder called Discord. If you already have a Discord folder, it will delete it, download the tar, and replace it with the latest version. The .tar is also removed once the folder is created 😄