Auto updates programs from github, gitlab, etc. I tried it in Debian Testing (Trixie).
This script contains dangerous commands, like sudo rm -r. Please be careful. Don't forget to add all the necessary info for each package in the .json file (it's important to not have empty items, that's why I name them "null"). I'm not responsible for any damage this script may cause.
After writing all this script, I realized that Nix package manager uses a similar (but probably much better) approach. Thus, I think it's better to use nix manager instead.
This script comes with a local .json file, that contains the essential info of the programs we need to install. The script iterates this info and serially checks if there is a new version, if yes it downloads it and the it installs it. Finally it clears the residual files and updates the .json file. I originally made this to auto-update apps that don't exist in my apt repos.
Currently updates:
- SuperTuxKart
- OpenRGB
- Veloren
- ABDownloadManager
- Czkawka
- Jellyfin-media-player
- LRCGET
- Ludusavi
- OneTagger
- Etcher
- Rustic
- SiteOne-Crawler
- ytDownloader
- Godot
- Meshroom
- Mindustry
- DiscordChatExporter-Gui
- Striling-PDF
- Blender
- Natron
- PDFsamBasic Happy updating!