Improve Flash logging support on OS X
This commit is contained in:
@@ -577,7 +577,7 @@ class FlashHelper {
|
|||||||
var path = switch (PlatformHelper.hostPlatform) {
|
var path = switch (PlatformHelper.hostPlatform) {
|
||||||
|
|
||||||
case WINDOWS: Sys.getEnv ("HOMEDRIVE") + "/" + Sys.getEnv ("HOMEPATH") + "/mm.cfg";
|
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";
|
default: Sys.getEnv ("HOME") + "/mm.cfg";
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -970,7 +970,6 @@ class FlashHelper {
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
||||||
Sys.sleep (1);
|
|
||||||
var input = null;
|
var input = null;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@@ -1003,6 +1002,8 @@ class FlashHelper {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Sys.sleep (1);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -57,11 +57,11 @@ class ProcessHelper {
|
|||||||
|
|
||||||
if (targetPath.substr (0, 1) == "/") {
|
if (targetPath.substr (0, 1) == "/") {
|
||||||
|
|
||||||
runCommand (workingDirectory, executable, [ targetPath ]);
|
runCommand (workingDirectory, executable, [ "-W", targetPath ]);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
runCommand (workingDirectory, executable, [ "./" + targetPath ]);
|
runCommand (workingDirectory, executable, [ "-W", "./" + targetPath ]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ class FlashPlatform extends PlatformTarget {
|
|||||||
if (traceEnabled) {
|
if (traceEnabled) {
|
||||||
|
|
||||||
FlashHelper.enableLogging ();
|
FlashHelper.enableLogging ();
|
||||||
//logLength = FlashHelper.getLogLength ();
|
logLength = FlashHelper.getLogLength ();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user