Created
September 23, 2021 06:52
-
-
Save nothub/a558b9455523c91c6c7b2a08b6d70f1b to your computer and use it in GitHub Desktop.
install discord with libayatana-appindicator1 instead of libappindicator1
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
#!/usr/bin/env bash | |
set -eo pipefail | |
curl -L -o discord-installer-original.deb "https://discordapp.com/api/download?platform=linux&format=deb" | |
dpkg-deb -R discord-installer-original.deb discord-deb-work | |
sed -i 's/libappindicator1/libayatana-appindicator1/g' discord-deb-work/DEBIAN/control | |
dpkg-deb -b discord-deb-work discord-installer-libayatana.deb | |
rm -rf discord-deb-work | |
sudo dpkg -i discord-installer-libayatana.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment