diff --git a/lime/tools/helpers/FlashHelper.hx b/lime/tools/helpers/FlashHelper.hx index 2730e875a..312a784b9 100644 --- a/lime/tools/helpers/FlashHelper.hx +++ b/lime/tools/helpers/FlashHelper.hx @@ -577,7 +577,7 @@ class FlashHelper { var path = switch (PlatformHelper.hostPlatform) { case WINDOWS: Sys.getEnv ("HOMEDRIVE") + "/" + Sys.getEnv ("HOMEPATH") + "/mm.cfg"; - case MAC: "/Library/Application Support/Macromedia/mm.cfg"; + //case MAC: "/Library/Application Support/Macromedia/mm.cfg"; default: Sys.getEnv ("HOME") + "/mm.cfg"; } @@ -970,7 +970,6 @@ class FlashHelper { while (true) { - Sys.sleep (1); var input = null; try { @@ -1003,6 +1002,8 @@ class FlashHelper { } + Sys.sleep (1); + } } diff --git a/lime/tools/helpers/ProcessHelper.hx b/lime/tools/helpers/ProcessHelper.hx index 7e4b8cef4..9c2739291 100644 --- a/lime/tools/helpers/ProcessHelper.hx +++ b/lime/tools/helpers/ProcessHelper.hx @@ -57,11 +57,11 @@ class ProcessHelper { if (targetPath.substr (0, 1) == "/") { - runCommand (workingDirectory, executable, [ targetPath ]); + runCommand (workingDirectory, executable, [ "-W", targetPath ]); } else { - runCommand (workingDirectory, executable, [ "./" + targetPath ]); + runCommand (workingDirectory, executable, [ "-W", "./" + targetPath ]); } diff --git a/lime/tools/platforms/FlashPlatform.hx b/lime/tools/platforms/FlashPlatform.hx index 0852c2312..738e8b3b2 100644 --- a/lime/tools/platforms/FlashPlatform.hx +++ b/lime/tools/platforms/FlashPlatform.hx @@ -198,7 +198,7 @@ class FlashPlatform extends PlatformTarget { if (traceEnabled) { FlashHelper.enableLogging (); - //logLength = FlashHelper.getLogLength (); + logLength = FlashHelper.getLogLength (); }