diff --git a/package.json b/package.json index 66cf4c0..e0cb657 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "displayName": "frida Workbench", "description": "Unofficial frida workbench for VSCode", - "version": "0.8.1", + "version": "0.8.2", "engines": { "vscode": "^1.69.1" }, diff --git a/src/driver/backend.ts b/src/driver/backend.ts index 3dc9aca..1ed90fb 100644 --- a/src/driver/backend.ts +++ b/src/driver/backend.ts @@ -20,6 +20,7 @@ or pip install frida-tools. Do you want to install now?`, 'Install', 'Cancel') .then(selected => { if (selected === 'Install') { run({ + env: { PIP_BREAK_SYSTEM_PACKAGES: '1' }, // Externally Managed Environments shellPath: python3Path(), shellArgs: ['-m', 'pip', 'install', 'frida-tools'] }); @@ -30,7 +31,7 @@ or pip install frida-tools. Do you want to install now?`, 'Install', 'Cancel') export function exec(...args: string[]): Promise { const remoteDevices = asParam(); return new Promise((resolve, reject) => { - execFile(python3Path(), [py, ...remoteDevices, ...args], { maxBuffer: 1024 * 1024 * 20}, (err, stdout, stderr) => { + execFile(python3Path(), [py, ...remoteDevices, ...args], { maxBuffer: 1024 * 1024 * 20 }, (err, stdout, stderr) => { if (err) { if (stderr.includes('Unable to import frida')) { askInstallFrida();