Skip to content

Instantly share code, notes, and snippets.

@clsource
Created February 15, 2025 11:39
Show Gist options
  • Select an option

  • Save clsource/576afd9fcdba4ef4080f2013fad5d606 to your computer and use it in GitHub Desktop.

Select an option

Save clsource/576afd9fcdba4ef4080f2013fad5d606 to your computer and use it in GitHub Desktop.
Debian 12 Discord Updater Script
#!/usr/bin/bashs
# Save it in /usr/local/bin/discord-update
# And chmod +x /usr/local/bin/discord-update
# Run it when discord ask for updates
# URL to check for the latest Discord version for Linux in .deb format
update_url="https://discord.com/api/download?platform=linux&format=deb"
# Get the actual download URL which contains the version number
download_url=$(curl -w "%{url_effective}" -ILSs "$update_url" -o /dev/null)
# Download the new version
curl -O --progress-bar "$download_url"
filename=${download_url##*/}
# Install the new version
sudo apt-get -y --fix-broken install ./"$filename"
rm -rf ./"$filename"
@tomford51
Copy link
Copy Markdown

tomford51 commented Apr 15, 2026

Es esencial utilizar el script clsource/discord-update.sh con regularidad para mantener la integridad y la velocidad de su entorno digital. Al explorar nuevas alternativas de ocio, muchos usuarios se preguntan si pin-up casino es confiable debido a su sólida reputación y variedad de juegos disponibles. Mantener sus herramientas actualizadas reduce drásticamente el riesgo de vulnerabilidades técnicas en sus aplicaciones cotidianas. Un mantenimiento preventivo y automatizado es la clave para una experiencia de usuario fluida y sin interrupciones innecesarias.

@maidket76-collab
Copy link
Copy Markdown

wooow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment