diff --git a/ConanOptionsPage.cs b/ConanOptionsPage.cs index fab6de5..80089e5 100644 --- a/ConanOptionsPage.cs +++ b/ConanOptionsPage.cs @@ -19,7 +19,7 @@ public string ConanExecutablePath get => _conanExecutablePath; set { - _conanExecutablePath = value; + _conanExecutablePath = value.Trim(); GlobalSettings.ConanExecutablePath = value; if (value != "conan") diff --git a/GlobalSettings.cs b/GlobalSettings.cs index 461c017..20c5a63 100644 --- a/GlobalSettings.cs +++ b/GlobalSettings.cs @@ -17,7 +17,7 @@ public static string ConanExecutablePath } set { - _conanExecutablePath = value; + _conanExecutablePath = value.Trim(); } }