mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
version info changes
This commit is contained in:
2
EU07.cpp
2
EU07.cpp
@@ -259,8 +259,6 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
Global.asVersion = "M7 16.03.2018 (based on tmj c100fcb7)";
|
||||
|
||||
for (int i = 1; i < argc; ++i)
|
||||
{
|
||||
std::string token(argv[i]);
|
||||
|
||||
@@ -16,6 +16,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#include "uart.h"
|
||||
#include "utilities.h"
|
||||
#include "motiontelemetry.h"
|
||||
#include "version.h"
|
||||
|
||||
struct global_settings {
|
||||
// members
|
||||
@@ -164,7 +165,7 @@ struct global_settings {
|
||||
int iMultiplayer{ 0 }; // blokada działania niektórych eventów na rzecz kominikacji
|
||||
// other
|
||||
std::string AppName{ "EU07" };
|
||||
std::string asVersion{ "UNKNOWN" }; // z opisem
|
||||
std::string asVersion{ VERSION_INFO }; // z opisem
|
||||
motiontelemetry::conf_t motiontelemetry_conf;
|
||||
std::string screenshot_dir;
|
||||
bool loading_log = true;
|
||||
|
||||
@@ -2,7 +2,9 @@ version: '{build}'
|
||||
image: Visual Studio 2017
|
||||
clone_depth: 1
|
||||
build_script:
|
||||
- cmd: >-
|
||||
- ps: >-
|
||||
Write-Output "#define VERSION_INFO `"$(git log -1 --date="format:%F %R" --format="%cd, %h")`"" > version.h
|
||||
|
||||
mkdir builds
|
||||
|
||||
cd builds
|
||||
|
||||
Reference in New Issue
Block a user