Skip to content

Commit 0b6e113

Browse files
committed
show EnvForwarder version in logs
1 parent 7dd4b67 commit 0b6e113

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

EnvForwarder/maincommon.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ bool initLogs()
3838

3939
unsigned long run(int argc, wchar_t* argv[])
4040
{
41+
const std::string version = "1.1.0";
42+
Log().Get(LOG_INFO) << "EnvForwarder version " << version;
43+
4144
std::string program = sys::getProgramPath();
4245
fs::path programPath = fs::u8path(program);
4346
if (!fs::is_regular_file(programPath)) {

0 commit comments

Comments
 (0)