From 33aed9145d7cdb682b9ac12d1ac2ef70c33c757a Mon Sep 17 00:00:00 2001 From: Norwin Roosen Date: Sat, 9 Feb 2019 14:51:45 +0100 Subject: [PATCH] fix android logging task --- config.xml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.xml b/config.xml index b98bf3f..20600ee 100644 --- a/config.xml +++ b/config.xml @@ -1,6 +1,6 @@ - openSenseApp Blockly + senseBox Blockly graphical programming & OTA upload for senseBox MCU re:edu diff --git a/package.json b/package.json index e9c0b93..d89b933 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "ionic-app-scripts build", "android:build": "ionic cordova build android", "android:deploy": "adb install -r platforms/android/app/build/outputs/apk/debug/app-debug.apk", - "android:start": "adb shell am force-stop de.sensebox.blockly; adb shell am start -n de.sensebox.blockly/de.sensebox.blockly.MainActivity; sleep 1; adb logcat | grep -F \"`adb shell ps | grep de.sensebox.blockly | cut -c15-18`\"", + "android:start": "adb shell am force-stop de.sensebox.blockly; adb shell am start -n de.sensebox.blockly/de.sensebox.blockly.MainActivity; sleep 5; adb logcat | grep -F \"`adb shell ps | grep de.sensebox.blockly | awk -F' ' '{print $2}'`\"", "lint": "ionic-app-scripts lint" }, "dependencies": { @@ -67,4 +67,4 @@ "browser" ] } -} +} \ No newline at end of file