claudiodangelis / qrcp

:zap: Transfer files over wifi from your computer to your mobile device by scanning a QR code without leaving the terminal.
https://qrcp.sh
MIT License
9.89k stars 524 forks source link

feat(version): check updates #312

Open claudiodangelis opened 7 months ago

claudiodangelis commented 7 months ago

This PR adds the ability of checking if a new version of qrcp is available. It's still a work in progress, I might add a flag to enable/disable the version check.

fgaz commented 6 months ago

I might add a flag to enable/disable the version check

please do! in the NixOS package we run the version command in an isolated environment as a post-update check

edit: though I see that it fails gracefully and in a short time, so it shouldn't be a problem