Added automatic git version info update

feature_graphics_settings
unfa 2021-12-06 21:17:17 +01:00
parent a2b4f88e97
commit 8f8f439508
1 changed files with 2 additions and 0 deletions

2
Game/version.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
echo -n "$(git log -n1 | head -n3 | tail -n1) · $(git status | grep "On branch" | cut -d' ' -f 2-) · commit hash: $(git reflog -n1 | cut -d' ' -f1)" > version 2>&1