A simple C script that updates the build_info.json discord file to the specified version so that discord can update itself.
After cloning the repository, add the executable to path with: sudo ln -s <path/to/exe> /bin/update-discord
update-discord [VERSION]
If no version is specified, it will update the version by 1.