Disable 'EnableRemoteMount' for non-Windows systems
This commit is contained in:
@@ -154,6 +154,8 @@ class Configuration extends IPCContainer {
|
|||||||
delete objectLookup[obj.label];
|
delete objectLookup[obj.label];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (this.props.remoteSupported && !isRemoteMount && (this.props.Platform !== 'win32')) {
|
||||||
|
delete objectLookup['RemoteMount'];
|
||||||
}
|
}
|
||||||
|
|
||||||
const objectLookupCopy = JSON.parse(JSON.stringify(objectLookup));
|
const objectLookupCopy = JSON.parse(JSON.stringify(objectLookup));
|
||||||
@@ -330,6 +332,7 @@ const mapStateToProps = state => {
|
|||||||
return {
|
return {
|
||||||
DisplayConfiguration: state.mounts.DisplayConfiguration,
|
DisplayConfiguration: state.mounts.DisplayConfiguration,
|
||||||
DisplayRemoteConfiguration: state.mounts.DisplayRemoteConfiguration,
|
DisplayRemoteConfiguration: state.mounts.DisplayRemoteConfiguration,
|
||||||
|
Platform: state.common.Platform,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user