mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2026-06-18 14:41:04 +00:00
Print a version header on logs and console output
This commit is contained in:
@@ -11,6 +11,8 @@
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "..\version.h"
|
||||
|
||||
#pragma comment(lib, "miniupnpc.lib")
|
||||
#pragma comment(lib, "libnatpmp.lib")
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
@@ -548,6 +550,9 @@ void ResetLogFile()
|
||||
|
||||
// Redirect stdout to this new file
|
||||
freopen(currentLogFilePath, "w", stdout);
|
||||
|
||||
// Print a log header
|
||||
printf("Moonlight Internet Streaming Service v" VER_VERSION_STR NL);
|
||||
}
|
||||
|
||||
DWORD WINAPI GameStreamStateChangeThread(PVOID Context)
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
#include "../version.h"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION VER_FILEVERSION
|
||||
FILEVERSION VER_VERSION
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
@@ -10,7 +10,7 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", VER_COMPANYNAME_STR
|
||||
VALUE "FileDescription", "Moonlight Internet Streaming Service"
|
||||
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||
VALUE "ProductName", VER_PRODUCTNAME_STR
|
||||
END
|
||||
END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user