Changed version number to git hash

This commit is contained in:
2025-09-15 11:30:51 +03:00
parent 9d9dcbea5f
commit 57d2aba783
3 changed files with 5 additions and 6 deletions

View File

@@ -4,10 +4,8 @@
#include "args.h"
extern char* version;
static void handle_version() {
printf("Sanke version %s\n", version);
printf("Sanke version %s\n", VERSION);
exit(0);
}

View File

@@ -15,8 +15,6 @@
#define TERMIOS 1
#define DEBUG 0
const char* version = "1.2.0";
const char snake_vis = '#';
struct termios set_termios();