mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
UpdateManager should respect the default VelopackApp locator (if there is one) (#173)
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Velopack
|
|||||||
}
|
}
|
||||||
Source = source;
|
Source = source;
|
||||||
Log = logger ?? VelopackApp.DefaultLogger ?? NullLogger.Instance;
|
Log = logger ?? VelopackApp.DefaultLogger ?? NullLogger.Instance;
|
||||||
Locator = locator ?? VelopackLocator.GetDefault(Log);
|
Locator = locator ?? VelopackApp.DefaultLocator ?? VelopackLocator.GetDefault(Log);
|
||||||
Channel = options?.ExplicitChannel ?? DefaultChannel;
|
Channel = options?.ExplicitChannel ?? DefaultChannel;
|
||||||
ShouldAllowVersionDowngrade = options?.AllowVersionDowngrade ?? false;
|
ShouldAllowVersionDowngrade = options?.AllowVersionDowngrade ?? false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user