mirror of
https://github.com/apache/cordova-android.git
synced 2026-03-16 00:00:02 +08:00
log was actually doing nothing...fixing it
This commit is contained in:
4
bin/templates/cordova/cordova.js
vendored
4
bin/templates/cordova/cordova.js
vendored
@@ -8,7 +8,7 @@ function exec(command) {
|
||||
if(!oExec.StdOut.AtEndOfStream) {
|
||||
var line = oExec.StdOut.ReadLine();
|
||||
// XXX: Change to verbose mode
|
||||
//WScript.StdOut.WriteLine(line);
|
||||
// WScript.StdOut.WriteLine(line);
|
||||
output += line;
|
||||
}
|
||||
WScript.sleep(100);
|
||||
@@ -79,7 +79,7 @@ function debug_install() {
|
||||
}
|
||||
|
||||
function log() {
|
||||
WScript.Echo(exec("%comspec% /c adb.bat logcat"));
|
||||
shell.Run("%comspec% /c adb logcat");
|
||||
}
|
||||
|
||||
function launch() {
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
%~dp0\cordova.bat log
|
||||
|
||||
Reference in New Issue
Block a user