mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-25 20:53:15 +00:00
1. Changed Array.includes polyfill to be nonenumerable, fixing potential problems when using for loops
2. Added uninstall helper 3. Fixed macOS bug on 'load' function
This commit is contained in:
@@ -953,7 +953,7 @@ int wmain(int argc, char* wargv[])
|
||||
WideCharToMultiByte(CP_UTF8, 0, (LPCWCH)wargv[argvi], -1, argv[argvi], argvsz, NULL, NULL);
|
||||
}
|
||||
|
||||
if (argc > 1 && (strcasecmp(argv[1], "-finstall") == 0))
|
||||
if (argc > 1 && (strcasecmp(argv[1], "-finstall") == 0 || strcasecmp(argv[1], "-funinstall") == 0))
|
||||
{
|
||||
argv[argc] = argv[1];
|
||||
argv[1] = (char*)ILibMemory_SmartAllocate(4);
|
||||
@@ -961,7 +961,6 @@ int wmain(int argc, char* wargv[])
|
||||
argc += 1;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
#ifndef NOMESHCMD
|
||||
// Check if this is a Mesh command operation
|
||||
|
||||
Reference in New Issue
Block a user