improve --version and add version checking
Enter-tainer opened this issue · comments
Wenzhuo Liu commented
currently we use git describe to get version string. however it doesnt work in nixos.
- add a proper version string and print it in a machine readable format
- check version before actually launching preview binary