Merged master into 1.0.3_branch

This commit is contained in:
Scott Graves
2019-04-07 00:21:10 -05:00
3 changed files with 20 additions and 8 deletions

View File

@@ -3,7 +3,7 @@
### GUI for [Repertory](https://bitbucket.org/blockstorage/repertory) ###
Repertory allows you to mount Sia, SiaPrime and/or Hyperspace blockchain storage solutions via FUSE on Linux/OS X or via WinFSP on Windows.
# Downloads #
* [Repertory UI v1.0.2 OS X](https://pixeldrain.com/u/YmWYpQJY)
* [Repertory UI v1.0.2 OS X](https://pixeldrain.com/u/sEz57mDP)
* [Repertory UI v1.0.2 Windows 64-bit](https://pixeldrain.com/u/4oJeVntd)
# Supported Platforms #
* OS X

View File

@@ -517,18 +517,30 @@ 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();
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
Source: data.Source,
});
if (os.platform() !== 'win32') {
helpers
.executeAndWait("chmod +x \"" + path.join(destination, 'repertory') + "\"")
.then(() => {
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
Source: data.Source,
});
})
.catch(error => {
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
Source: data.Source,
}, error);
})
} else {
standardIPCReply(event, Constants.IPC_Extract_Release_Complete, {
Source: data.Source,
});
}
});
});

View File

@@ -9,7 +9,7 @@
"darwin": {
"1.0.2": {
"hash": "",
"urls": ["https://pixeldrain.com/api/file/YmWYpQJY"]
"urls": ["https://pixeldrain.com/api/file/sEz57mDP"]
}
}
},