/auto-update-discord

Automatically update discord on ubuntu and similar

Primary LanguageShell

Systemd service 🔨 to automatically update discord on startup

Installation

Run ./install.sh it will:

#!/bin/bash

# Script path
script_path=$(dirname $(realpath $0))

# Point to user home directory containing .config/discord
sudo sed -i "4ihome_directory=$HOME" $script_path/update-discord.sh
sudo cp update-discord.* /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable update-discord.service

To trigger an update manually run:

sudo systemctl start update-discord.service