16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 14:39:18 +02:00

basic executable versioning

This commit is contained in:
tmj-fstate
2017-05-16 14:13:28 +02:00
parent 52a76f0ba1
commit 23f4892bcc
10 changed files with 74 additions and 30 deletions

View File

@@ -112,7 +112,7 @@ void ErrorLog(const char *str)
"logs/errors (" + filename_scenery() + ") " + filename_date() + ".txt" :
"errors.txt" );
errors.open( filename, std::ios::trunc );
errors << "EU07.EXE " + Global::asRelease << "\n";
errors << "EU07.EXE " + Global::asVersion << "\n";
}
if (str)
errors << str;