Browse Source

Resolve full path before setting library dir override

pull/324/head
Ionite 12 months ago
parent
commit
f021721c86
No known key found for this signature in database
  1. 5
      StabilityMatrix.Core/Services/SettingsManager.cs

5
StabilityMatrix.Core/Services/SettingsManager.cs

@ -276,8 +276,9 @@ public class SettingsManager : ISettingsManager
// 0. Check Override
if (!string.IsNullOrEmpty(LibraryDirOverride))
{
Logger.Info("Using library override path: {Path}", LibraryDirOverride);
LibraryDir = LibraryDirOverride;
var fullOverridePath = Path.GetFullPath(LibraryDirOverride);
Logger.Info("Using library override path: {Path}", fullOverridePath);
LibraryDir = fullOverridePath;
SetStaticLibraryPaths();
LoadSettings();
return true;

Loading…
Cancel
Save