FedeDP / Clightd

A linux bus interface that lets you change screen brightness, compute captured webcam frames brightness and change screen temperature.
GNU General Public License v3.0
82 stars 10 forks source link

Fix version string formatting #114

Closed ferki closed 4 months ago

ferki commented 4 months ago

This PR is in the same spirit as FedeDP/Clight#297.

TL;DR: Use git to retrieve the git commit hash only if the source directory looks like a git repository.

Please review and merge, or let me know how to improve it.

FedeDP commented 4 months ago

Thanks for porting it here too! LGTM :)

ferki commented 4 months ago

Thanks for merging here too!