Discord: Difference between revisions

imported>IvarWithoutBones
m Add betterdiscord installation instructions
imported>Hyperfekt
add auto-update disable setting
Line 57: Line 57:
[[File:discord_update_latest.png]]
[[File:discord_update_latest.png]]


Discord refuses to start because they have released an update and only the latest version can connect to their service.
Discord refuses to start because they have released an update and it wants to download that instead.


Most of the time this is a temporary problem, and you can just wait for the version to be bumped in nixpkgs and update then.
To prevent Discord from checking for new versions, add the following to ~/.config/discord/settins.json:
For the impatient the workaround is something like this:
<syntaxhighlight lang="json">"SKIP_HOST_UPDATE": true</syntaxhighlight>
 
 
Alternatively, you can install the updated version.
 
If the version has already been updated in a newer version of nixpkgs, installing it works something like this:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
Line 68: Line 73:
An overlay to build discord manually from the URL to the latest tarball on [https://discord.com/api/download?platform=linux&format=tar.gz], see [https://github.com/NixOS/nixpkgs/issues/94806]
An overlay to build discord manually from the URL to the latest tarball on [https://discord.com/api/download?platform=linux&format=tar.gz], see [https://github.com/NixOS/nixpkgs/issues/94806]


If it was fixed in master, the other alternatives are:
If it was fixed in master, the other alternatives are:


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">