Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead

Home Page:https://Enter-tainer.github.io/typst-preview/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

improve --version and add version checking

Enter-tainer opened this issue · comments

#205 (comment)

currently we use git describe to get version string. however it doesnt work in nixos.

  1. add a proper version string and print it in a machine readable format
  2. check version before actually launching preview binary