Browse Source

Now explicitly adds PATH dirs to DLL search path

pull/32/head
Anairkoen Schno 5 years ago
parent
commit
af66404c1a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      IPA.Loader/Loader/LibLoader.cs

+ 3
- 0
IPA.Loader/Loader/LibLoader.cs View File

@ -85,6 +85,9 @@ namespace IPA.Loader
AddDir(dir); return true;
}).All(f => true); // force it to iterate all
}
foreach (var dir in Environment.GetEnvironmentVariable("path").Split(Path.PathSeparator))
AddDir(dir);
}
}


Loading…
Cancel
Save