emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
591 stars 56 forks source link

Can I tell which version is installed? #180

Open soenkehahn opened 2 years ago

soenkehahn commented 2 years ago

I installed xdg-desktop-portal-wlr from source some time ago. I'm trying to figure out which version I installed, but don't know how to do that. I was hoping /usr/local/libexec/xdg-desktop-portal-wlr --version would work, but that flag doesn't seem to exist. The man page also doesn't seem to have a version number. Is there a way to tell which version I have installed?

If not, should a flag like --version be implemented?

columbarius commented 2 years ago

Afaik there is currently no way to get the installed version from the binary itself.

If not, should a flag like --version be implemented?

Sry for the long delay. I would be interested in this flag.

soenkehahn commented 2 years ago

Thanks for the reply! Personally I'm not super invested in this feature anymore, because the version that ships with my distro by now works for me, so I don't need to install xdg-desktop-portal-wlr manually anymore. So from where I'm standing this issue can be closed. Feel free to re-use it for implementing that flag though. :)