This commit is contained in:
Descear
2020-05-27 21:42:14 +01:00
committed by GitHub
parent 41aba7665a
commit 4d12c46a2d

View File

@@ -54,17 +54,14 @@ module.exports = function(packagedAppPath) {
try {
fs.chmodSync(
path.join(
rpmPackageApplicationDirPath,
'chrome-sandbox'
),
path.join(rpmPackageApplicationDirPath,·'chrome-sandbox'),
'4755'
);
} catch (ex) {
console.log('Chmod failed');
spawnSync('find', [rpmPackageDirPath, '-name', 'chrome-sandbox'], {
stdio: 'inherit',
stdio: 'inherit'
});
}