Fix daemon version check
This commit is contained in:
@@ -301,6 +301,7 @@ ipcMain.on(Constants.IPC_Check_Daemon_Version + '_sync', (event, data) => {
|
||||
.then(code => {
|
||||
event.returnValue = {
|
||||
data: {
|
||||
Success: true,
|
||||
Valid: (code === 0),
|
||||
},
|
||||
};
|
||||
|
||||
@@ -98,7 +98,7 @@ class MountItems extends IPCContainer {
|
||||
Directory: this.props.directory,
|
||||
StorageType: storageType,
|
||||
Version: this.props.version
|
||||
});
|
||||
}).data;
|
||||
if (result.Success) {
|
||||
if (result.Valid) {
|
||||
if (this.props.platform !== 'win32') {
|
||||
|
||||
Reference in New Issue
Block a user