mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
Fix path for chrome-sandbox chmod (#1091)
This commit is contained in:
parent
6f19a3effa
commit
8dbb1f90d2
@ -112,9 +112,8 @@ const config = {
|
||||
.filter((f) => f.isFile() && f.name.startsWith("wavesrv"))
|
||||
.forEach((f) => fs.chmodSync(path.resolve(f.parentPath ?? f.path, f.name), 0o755)); // 0o755 corresponds to -rwxr-xr-x
|
||||
} else if (context.electronPlatformName === "linux") {
|
||||
const chromeSandboxPath = path.resolve(context.appOutDir, "Wave", "chrome-sandbox");
|
||||
const chromeSandboxPath = path.resolve(context.appOutDir, "chrome-sandbox");
|
||||
fs.chmodSync(chromeSandboxPath, 0o4755);
|
||||
fs.chownSync(chromeSandboxPath, 0, 0);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user