Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 533 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 533 Bytes

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