From bdcab9612b11efa3d020fc2a8feec63ff295eaf3 Mon Sep 17 00:00:00 2001 From: Evan Date: Wed, 22 Apr 2026 21:06:19 -0500 Subject: [PATCH] update README.md with info on turning off automatic updates --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index d7f61b7..cf0f0b4 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,20 @@ sudo systemctl start update-discord.service journalctl -u update-discord.service ``` +## Stopping automatic updates +Discord's stock client prompts you to manually update whenever they release a new version. I originally created this script so that I didn't have to interact with that prompt and download a `.deb` every week. + +However, Discord recently botched one of their linux updates (somewhere around version `0.0.133`, I think) and have yet to publish a fix. While searching for a workaround to that, I learned that [you can disable Discord's forced updates entirely](https://superuser.com/questions/1745556/prevent-discord-from-updating-automatically). Yippee! + +Edit `~/.config/discord/settings.json` to include the following JSON field: + +```json +{ + "SKIP_HOST_UPDATE": true +} +``` + +Then, edit `/usr/share/discord/resources/build_info.json` and change the `version` field to some older version (I used `0.0.131`). You may need to run `killall Discord` and restart the app for changes to take place. + +You can turn off the auto-update script by running `sudo systemctl disable update-discord.timer`. You can also re-enable it by running `sudo systemctl enable update-discord.timer`. +