How to update discord on archlinux ?
Contents
I hate discord updates!, they do lots of updates which prevents discord desktop from launching.
Bad for me that I use Archlinux, as discord ships thier updates as .deb
.
So how to manually update discord without waiting for the package maintainer to update it for you ?
Cheating way
This method allows you to trick the Discord into thinking it’s been updated. First, check for the path of the discord executable
file $(which discord)
Then edit the resources/build_info.json
in that path.
{
"releaseChannel": "stable",
"version": "0.0.xx" // change to the latest version
}
The proper way
This method involves using the Arch Build System
- Download the
asp
throughyay
:yay -S asp
- Export the
PKGBUILD
file from discord :asp export discord
- Edit the
pkgver=0.0.xx
in thePKGBUILD
with the current version. - Build discord :
makepkg -si
Say Hello :D
Sponsor