mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-12 18:56:11 +08:00
log was actually doing nothing...fixing it
This commit is contained in:
parent
e639b6303e
commit
98138a0a60
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) {
|
if(!oExec.StdOut.AtEndOfStream) {
|
||||||
var line = oExec.StdOut.ReadLine();
|
var line = oExec.StdOut.ReadLine();
|
||||||
// XXX: Change to verbose mode
|
// XXX: Change to verbose mode
|
||||||
//WScript.StdOut.WriteLine(line);
|
// WScript.StdOut.WriteLine(line);
|
||||||
output += line;
|
output += line;
|
||||||
}
|
}
|
||||||
WScript.sleep(100);
|
WScript.sleep(100);
|
||||||
@ -79,7 +79,7 @@ function debug_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
WScript.Echo(exec("%comspec% /c adb.bat logcat"));
|
shell.Run("%comspec% /c adb logcat");
|
||||||
}
|
}
|
||||||
|
|
||||||
function launch() {
|
function launch() {
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
%~dp0\cordova.bat log
|
Loading…
Reference in New Issue
Block a user