1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

Remove after-pack changes

This commit is contained in:
Bernd Schoolmann
2025-09-01 16:49:29 +02:00
parent ad3249b70d
commit c441025587

View File

@@ -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)) {