Skip to content

Commit fbfbf58

Browse files
committed
v4.0.2
handle "Unexpected early end-of-stream"
1 parent e4576bc commit fbfbf58

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

index.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,11 @@ export class BagBak extends EventEmitter {
283283
We are not able to dump such extensions, because they can not run on your device.`))
284284

285285
throw error;
286-
} else if (message.includes('either refused to load frida-agent, or terminated during injection')) {
286+
} else if (
287+
message.includes('either refused to load frida-agent, or terminated during injection')) {
287288
throw new Error(`Error: app process crashed, please try running the command again.
288289
Original error message: ${error}`);
289-
} else if (!message.includes('libSystem.B.dylib')) {
290+
} else if (!message.includes('libSystem.B.dylib') && !message.includes('Unexpected early end-of-stream')) {
290291
throw error; // ignore libSystem.B.dylib not found error
291292
}
292293
debug('retry', i, error);

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bagbak",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "Dump iOS app from a jailbroken device, based on frida.re",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)