Fix executable permission

This commit is contained in:
Scott E. Graves
2019-04-06 23:48:34 -05:00
parent 57306def40
commit 3e3cbde163

View File

@@ -517,6 +517,9 @@ ipcMain.on(Constants.IPC_Extract_Release, (event, data) => {
} catch (e) {
}
stream.close();
if (os.platform() !== 'win32') {
helpers.executeAndWait("chmod +x \"" + path.join(destination, 'repertory') + "\"");
}
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
Source: data.Source,
}, error);