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

1. Updated macOS message-box to correctly detect cancel button press

2. Fixed compiler warning
3. Updated --no-embedded=1 detection
This commit is contained in:
Bryan Roe
2020-08-02 15:48:15 -07:00
parent 9931cdd9e1
commit b40b4f45e6
4 changed files with 23 additions and 11 deletions

View File

@@ -113,7 +113,7 @@ char* crashMemory = ILib_POSIX_InstallCrashHandler(argv[0]);
int i;
for (i = 1; i < argc; ++i)
{
if (strcmp(argv[i], "--no-embedded=1") == 0)
if (strcmp(argv[i], "--no-embedded=1") == 0 || strcmp(argv[i], "--no-embedded=\"1\"") == 0)
{
free(integratedJavaScript);
integratedJavaScript = NULL;