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