Improve Flash logging support on OS X
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 ]);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -198,7 +198,7 @@ class FlashPlatform extends PlatformTarget {
|
||||
if (traceEnabled) {
|
||||
|
||||
FlashHelper.enableLogging ();
|
||||
//logLength = FlashHelper.getLogLength ();
|
||||
logLength = FlashHelper.getLogLength ();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user