diff --git a/apps/desktop/scripts/after-pack.js b/apps/desktop/scripts/after-pack.js index c3e04217689..5fc42f31ac3 100644 --- a/apps/desktop/scripts/after-pack.js +++ b/apps/desktop/scripts/after-pack.js @@ -30,17 +30,6 @@ async function run(context) { fse.copyFileSync(wrapperScript, wrapperBin); fse.chmodSync(wrapperBin, "755"); console.log("Copied memory-protection wrapper script"); - - const memorySecurityPath = path.join(__dirname, "../process_isolation/"); - const memorySecurityLibPath = path.join( - memorySecurityPath, - "target", - "release", - "libprocess_isolation.so", - ); - const memorySecurityLibOutPath = path.join(appOutDir, "libprocess_isolation.so"); - child_process.execSync(`cargo build --release`, { cwd: memorySecurityPath }); - fse.copyFileSync(memorySecurityLibPath, memorySecurityLibOutPath); } if (["darwin", "mas"].includes(context.electronPlatformName)) {