mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 13:53:34 +00:00
Remove after-pack changes
This commit is contained in:
@@ -30,17 +30,6 @@ async function run(context) {
|
|||||||
fse.copyFileSync(wrapperScript, wrapperBin);
|
fse.copyFileSync(wrapperScript, wrapperBin);
|
||||||
fse.chmodSync(wrapperBin, "755");
|
fse.chmodSync(wrapperBin, "755");
|
||||||
console.log("Copied memory-protection wrapper script");
|
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)) {
|
if (["darwin", "mas"].includes(context.electronPlatformName)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user