install.sh now works like a usual source install: PREFIX and DESTDIR,
/usr/local by default with sudo for the copy only, --user, --uninstall
and --purge. It builds in a temporary folder that is removed however the
script ends, so target/ is left alone. Installs PNG icons up to 512,
AppStream data, the licence and the README, and removes an older copy in
~/.local that would hide the new one on PATH.
Quitting or switching presence off now clears the activity and closes
the connection, with a short limit so Discord can't delay quitting.
Co-Authored-By: Claude Opus 5.5 <[email protected]>