relocated version.txt

This commit is contained in:
Shaun Inman 2023-02-16 22:36:41 -05:00
parent 467a66438b
commit bf431be48f
4 changed files with 5 additions and 8 deletions

View file

@ -1335,7 +1335,7 @@ int main (int argc, char *argv[]) {
if (!version) {
// TODO: load from a file
char release[256];
getFile("./version.txt", release, 256);
getFile(ROOT_SYSTEM_PATH "/version.txt", release, 256);
char *tmp,*commit;
commit = strrchr(release, '\n');