Skip to content

Commit 8dbb1f9

Browse files
authored
Fix path for chrome-sandbox chmod (#1091)
1 parent 6f19a3e commit 8dbb1f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

electron-builder.config.cjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,8 @@ const config = {
112112
.filter((f) => f.isFile() && f.name.startsWith("wavesrv"))
113113
.forEach((f) => fs.chmodSync(path.resolve(f.parentPath ?? f.path, f.name), 0o755)); // 0o755 corresponds to -rwxr-xr-x
114114
} else if (context.electronPlatformName === "linux") {
115-
const chromeSandboxPath = path.resolve(context.appOutDir, "Wave", "chrome-sandbox");
115+
const chromeSandboxPath = path.resolve(context.appOutDir, "chrome-sandbox");
116116
fs.chmodSync(chromeSandboxPath, 0o4755);
117-
fs.chownSync(chromeSandboxPath, 0, 0);
118117
}
119118
},
120119
};

0 commit comments

Comments
 (0)