1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

1. Adding missing definition for MNG_KVM_KEY_UNICODE

2. Updated Windows Unicode KeyPress
3. Fixed bug with self update that causes update to fail for older service installations
This commit is contained in:
Bryan Roe
2020-11-17 23:47:29 -08:00
parent ea3a6af192
commit 2fc2206eb9
5 changed files with 6 additions and 8 deletions

View File

@@ -719,7 +719,7 @@ int wmain(int argc, char* wargv[])
if (argv[1][8] == '*')
{
// New Style
updateLen = sprintf_s(update, 1024, "require('agent-installer').update(%s, '%s');", argv[1][9] == 'S' ? "true" : "false", argc > 1 ? argv[2] : "null");
updateLen = sprintf_s(update, 1024, "require('agent-installer').update(%s, '%s');", argv[1][9] == 'S' ? "true" : "false", argc > 2 ? argv[2] : "null");
}
else
{