From adcc060d138496d7531a14fd9fb1891da13fe2bd Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 30 Aug 2019 12:32:08 -0500 Subject: [PATCH] #37: Version check fails with incorrect message when VC runtime is missing --- CHANGELOG.md | 1 + src/containers/MountItems/MountItems.js | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e89cfac..cafbf8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.0.8 * \#36: Add ability to select Linux distribution type if OS is unsupported +* \#37: Version check fails with incorrect message when VC runtime is missing * Added additional WinFsp uninstall strings ## 1.0.7 diff --git a/src/containers/MountItems/MountItems.js b/src/containers/MountItems/MountItems.js index 58a84ce..209502c 100644 --- a/src/containers/MountItems/MountItems.js +++ b/src/containers/MountItems/MountItems.js @@ -171,7 +171,11 @@ class MountItems extends IPCContainer { } } else { allowAction = false; - this.displayRetryMount(provider, location, 'Version check failed: ' + result.Error); + if (this.props.Platform === 'win32') { + this.props.notifyError('Failed to launch repertory. Please install Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.'); + } else { + this.displayRetryMount(provider, location, 'Version check failed: ' + result.Error); + } } }