Log dmg2img output to stderr
This commit is contained in:
parent
95af3899d3
commit
c6a5c42a1b
3 changed files with 6 additions and 3 deletions
|
@ -31,6 +31,7 @@ dependencies {
|
||||||
implementation 'com.android.support:design:28.0.0-rc01'
|
implementation 'com.android.support:design:28.0.0-rc01'
|
||||||
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
|
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
|
||||||
implementation 'com.android.support:gridlayout-v7:28.0.0-rc01'
|
implementation 'com.android.support:gridlayout-v7:28.0.0-rc01'
|
||||||
|
api 'com.google.guava:guava:26.0-android'
|
||||||
|
|
||||||
implementation 'com.github.isabsent:filepicker:1.1.01'
|
implementation 'com.github.isabsent:filepicker:1.1.01'
|
||||||
// implementation 'com.github.mjdev:libaums:0.5.5'
|
// implementation 'com.github.mjdev:libaums:0.5.5'
|
||||||
|
|
|
@ -22,9 +22,10 @@
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<service
|
<service android:name=".services.UsbApiImgWriteService"
|
||||||
android:name=".services.UsbAPIWriteService"
|
android:exported="false"/>
|
||||||
android:exported="false"/>
|
<service android:name=".services.UsbApiDmgWriteService"
|
||||||
|
android:exported="false"/>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
|
@ -22,6 +22,7 @@ private fun readPartitionTable(dmg2img: File, libDir: String, file: File): Pair<
|
||||||
|
|
||||||
val p = pb.start()
|
val p = pb.start()
|
||||||
val out = p.inputStream.readString()
|
val out = p.inputStream.readString()
|
||||||
|
System.err.println(out)
|
||||||
p.waitFor()
|
p.waitFor()
|
||||||
val matches = partRegex.findAll(out)
|
val matches = partRegex.findAll(out)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue