mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +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) {
|
||||
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
|
Loading…
Reference in New Issue
Block a user