Created
September 25, 2022 17:55
-
-
Save iFrostizz/1c4835c1bf9fac70d98d470eb6cc7948 to your computer and use it in GitHub Desktop.
Discord on Linux
This file contains 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 | |
#from https://www.makeuseof.com/download-discord-linux/ | |
# note: run this as root | |
FILE=discord-0.0.20.tar.gz | |
sudo tar -xvzf $FILE -C /opt | |
sudo ln -sf /opt/Discord/Discord /usr/bin/Discord | |
sudo cat > /usr/share/applications/discord.desktop << EOF | |
[Desktop Entry] | |
Name=Discord | |
StartupWMClass=discord | |
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone. | |
GenericName=Internet Messenger | |
Exec=/usr/bin/Discord | |
Icon=/opt/Discord/discord.png | |
Type=Application | |
Categories=Network;InstantMessaging; | |
Path=/usr/bin | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment