Fix chmod
This commit is contained in:
@@ -517,15 +517,15 @@ ipcMain.on(Constants.IPC_Extract_Release, (event, data) => {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
stream.close();
|
stream.close();
|
||||||
if (os.platform() !== 'win32') {
|
|
||||||
helpers.executeAndWait("chmod +x \"" + path.join(destination, 'repertory') + "\"");
|
|
||||||
}
|
|
||||||
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
|
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
|
||||||
Source: data.Source,
|
Source: data.Source,
|
||||||
}, error);
|
}, error);
|
||||||
})
|
})
|
||||||
.on('finish', () => {
|
.on('finish', () => {
|
||||||
stream.close();
|
stream.close();
|
||||||
|
if (os.platform() !== 'win32') {
|
||||||
|
helpers.executeAndWait("chmod +x \"" + path.join(destination, 'repertory') + "\"");
|
||||||
|
}
|
||||||
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
|
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
|
||||||
Source: data.Source,
|
Source: data.Source,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user