1
0
Fork 0
mirror of https://github.com/sensebox/blockly-app synced 2025-04-05 17:30:28 +02:00

fix android logging task

This commit is contained in:
Norwin 2019-02-09 14:51:45 +01:00
parent db7f83f681
commit 33aed9145d
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="de.sensebox.blockly" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>openSenseApp Blockly</name>
<name>senseBox Blockly</name>
<description>graphical programming &amp; OTA upload for senseBox MCU</description>
<author email="kontakt@reedu.de" href="https://reedu.de/">re:edu</author>
<content src="index.html" />

View file

@ -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"
]
}
}
}