Keeping your Discord client up-to-date is now hassle-free with this simple updater script.
Just execute the script, and it will handle the update process seamlessly.
To ensure Discord update on boot, follow these steps:
-
Open the crontab file using the command:
sudo crontab -e
-
When prompted to select an editor, choose your preferred one. For example:
Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.tiny 3. /bin/ed Choose 1-3 [1]: 1
-
Add the following line to the end of the file, replacing
<path/to/discord-updater.sh>
with the actual path to yourdiscord-updater.sh
script:@reboot /path/to/discord-updater.sh
-
In some cases, you may need to enable the cron service by running:
sudo systemctl enable cron.service
Now, your Discord client will automatically update upon system reboot.