Skip to content

Commit

Permalink
v4.0.2
Browse files Browse the repository at this point in the history
handle "Unexpected early end-of-stream"
  • Loading branch information
ChiChou committed Sep 28, 2024
1 parent e4576bc commit fbfbf58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,11 @@ export class BagBak extends EventEmitter {
We are not able to dump such extensions, because they can not run on your device.`))

throw error;
} else if (message.includes('either refused to load frida-agent, or terminated during injection')) {
} else if (
message.includes('either refused to load frida-agent, or terminated during injection')) {
throw new Error(`Error: app process crashed, please try running the command again.
Original error message: ${error}`);
} else if (!message.includes('libSystem.B.dylib')) {
} else if (!message.includes('libSystem.B.dylib') && !message.includes('Unexpected early end-of-stream')) {
throw error; // ignore libSystem.B.dylib not found error
}
debug('retry', i, error);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bagbak",
"version": "4.0.1",
"version": "4.0.2",
"description": "Dump iOS app from a jailbroken device, based on frida.re",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit fbfbf58

Please sign in to comment.