.dotfiles/.local/bin/discord-update

7 lines
213 B
Bash
Executable File

#!/bin/bash
wget "https://discord.com/api/download/stable?platform=linux&format=tar.gz" -O /tmp/discord.tar.gz
tar -xvf "/tmp/discord.tar.gz" -C "/tmp/"
rm -rf "$HOME/.discord"
mv "/tmp/Discord" "$HOME/.discord"