diff --git a/index.js b/index.js index 472b959..223e477 100644 --- a/index.js +++ b/index.js @@ -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); diff --git a/package-lock.json b/package-lock.json index 7592da5..3d1b4c0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bagbak", - "version": "4.0.0", + "version": "4.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bagbak", - "version": "4.0.0", + "version": "4.0.2", "license": "MIT", "dependencies": { "chalk": "^4.0.0", diff --git a/package.json b/package.json index 67a2d52..fa91749 100644 --- a/package.json +++ b/package.json @@ -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": {