mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-01 12:58:52 +08:00
On Linux, update the chrome-sandbox permissions when we package the app - attempt 2
This commit is contained in:
parent
501852f07f
commit
0df7760012
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module.exports = grunt => {
|
|||
*/
|
||||
function runUpdateSandboxHelperPermissions(buildPath, electronVersion, platform, arch, callback) {
|
||||
// https://github.com/electron-userland/electron-installer-common/blob/feaf7a9b4c947e8838befc8772da71903990c652/src/sandboxhelper.js
|
||||
const helperPath = path.resolve(buildPath, 'chrome-sandbox');
|
||||
const helperPath = path.resolve(buildPath, '..', 'chrome-sandbox');
|
||||
if (fs.existsSync(helperPath)) {
|
||||
console.log('---> Changing chrome-sandbox permissions');
|
||||
fs.chmodSync(helperPath, 0o4755);
|
||||
|
|
Loading…
Reference in a new issue