Dont overwrite the user's selected client path on startup.

This commit is contained in:
jliddev
2020-09-23 09:34:49 -05:00
parent c1e3f74452
commit 5e030331a0

View File

@@ -72,12 +72,18 @@ namespace WowUp.WPF.Services
var clientLocation = GetClientLocation(clientType);
var productLocation = GetProductLocation(clientType);
//Log.Information($"clientLocation {clientLocation}, productLocation: {productLocation}");
Log.Information($"clientLocation {clientLocation}, productLocation: {productLocation}");
if (AreEqualPaths(clientLocation, productLocation))
{
continue;
}
// If the path that the user selected is valid, then move on.
if(!string.IsNullOrEmpty(clientLocation) && IsClientFolder(clientType, clientLocation))
{
continue;
}
var locationPreference = GetClientLocationPreference(clientType);
if (locationPreference == null)
{