Fix #94, #575: Fix run-time crash due to insufficient permissions (PR #581)

This commit is contained in:
David Kramer 2018-04-22 13:55:46 -07:00 committed by Ronan Jouchet
parent 2d09455c17
commit 92bc44a712
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ function buildMain(inpOptions, callback) {
const options = Object.assign({}, inpOptions);
// pre process app
const tmpObj = tmp.dirSync({ unsafeCleanup: true });
const tmpObj = tmp.dirSync({ mode: '0755', unsafeCleanup: true });
const tmpPath = tmpObj.name;
// todo check if this is still needed on later version of packager