mirror of
https://github.com/WowUp/WowUp.git
synced 2026-06-20 11:38:59 -04:00
Dont overwrite the user's selected client path on startup.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user