Move version into C file

This commit is contained in:
Rickey Fehr
2025-09-24 20:44:13 -07:00
parent 56bbc2ff9a
commit 36bcf0fa30
3 changed files with 2 additions and 8 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef GIT_HASH
#define GIT_HASH "undef"
#endif
#ifndef GIT_DIRTY
#define GIT_DIRTY "-dirty"
#endif
__attribute__((section(".version"), used))
const char balatro_version[] = "GBALATRO_VERSION:" GIT_HASH GIT_DIRTY;