1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-10 21:33:38 +00:00

Updated -info switch to include Host OS Info and Architecture

This commit is contained in:
Bryan Roe
2021-08-10 22:32:13 -07:00
parent 841642dec4
commit c60b067c00
2 changed files with 18 additions and 10 deletions

View File

@@ -235,15 +235,16 @@ char* crashMemory = ILib_POSIX_InstallCrashHandler(argv[0]);
if (SOURCE_COMMIT_HASH != NULL && SOURCE_COMMIT_DATE != NULL)
{
printf(" Commit Hash: %s\n", SOURCE_COMMIT_HASH);
printf(" Commit Date: %s\n", SOURCE_COMMIT_DATE);
printf(" Commit Date: %s\n", SOURCE_COMMIT_DATE);
}
#ifndef MICROSTACK_NOTLS
printf("Using %s\n", SSLeay_version(SSLEAY_VERSION));
#endif
#ifdef WIN32
wmain_free(argv);
#endif
return(0);
printf("Agent ARCHID: %d\n", MESH_AGENTID);
char script[] = "console.log('Detected platform: ' + require('os').Name + ' - ' + require('os').arch());process.exit();";
integratedJavaScript = ILibString_Copy(script, sizeof(script) - 1);
integratedJavaScriptLen = (int)sizeof(script) - 1;
}
if (argc > 1 && strcasecmp(argv[1], "-updaterversion") == 0)
{