2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-05 04:47:54 +00:00

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

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