mirror of
https://github.com/andwati/dotfiles.git
synced 2026-10-18 19:12:53 +00:00
Adds a TUI-driven, rollback-capable installer (install/install.sh + install/modules/*.sh) covering JS/Python/systems toolchains, dev tooling, browsers, chat apps, GNOME extras, and misc setup (wakatime key, ssh/gpg perms, apt mirror benchmarking), all sourced from each vendor's official install method. bootstrap.sh stows the zsh/git/tmux/vscode dotfiles and runs the installer; desnap.sh purges snapd and replaces default snaps with apt/Flatpak equivalents.
11 lines
333 B
Bash
11 lines
333 B
Bash
install_discord() {
|
|
if has_cmd discord; then ok "discord already installed"; return; fi
|
|
local deb
|
|
deb=$(mktemp --suffix=.deb)
|
|
curl -fsSL 'https://discord.com/api/download?platform=linux&format=deb' -o "$deb"
|
|
apt_update_once
|
|
sudo apt-get install -y "$deb"
|
|
rm -f "$deb"
|
|
rollback_push "sudo apt-get remove -y discord"
|
|
}
|