#!/usr/bin/env bash
set -euo pipefail

# DISCORD_DEB="/tmp/discord.deb"
# DISCORD_URL="https://discord.com/api/download?platform=linux&format=deb"

# info "Downloading Discord .deb package..."
# curl -L "$DISCORD_URL" -o "$DISCORD_DEB"

# info "Installing Discord..."
# sudo apt install -y "$DISCORD_DEB"

# info "Cleaning up downloaded package..."
# rm -f "$DISCORD_DEB"

sudo snap install discord
success "Discord installed successfully."
