mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
13 lines
379 B
JavaScript
13 lines
379 B
JavaScript
const fs = require("fs");
|
|
const path = require("path");
|
|
|
|
exports.default = async function afterPack(context) {
|
|
if (context.electronPlatformName !== "linux") return;
|
|
|
|
const chromeSandbox = path.join(context.appOutDir, "chrome-sandbox");
|
|
if (fs.existsSync(chromeSandbox)) {
|
|
fs.unlinkSync(chromeSandbox);
|
|
console.log("Removed chrome-sandbox from Linux build");
|
|
}
|
|
};
|