sometimes, not having an 'extracted' file is a failure
This commit is contained in:
parent
7de49ce579
commit
8be2487fa9
1 changed files with 4 additions and 0 deletions
|
@ -371,7 +371,11 @@ int check_version(char* tool_path, char* data_path) {
|
|||
fgets(dataversion, 20, f);
|
||||
fclose(f);
|
||||
} else {
|
||||
#ifdef CHECK_EXTRACTED_VERSION
|
||||
return 0; // No file means we have a problem
|
||||
#else
|
||||
return 1; // No file means we don't care
|
||||
#endif
|
||||
}
|
||||
#ifndef WIN32
|
||||
sprintf(buf, "%s -V", tool_path);
|
||||
|
|
Loading…
Add table
Reference in a new issue