From dd48e662d5187f4467929775accd8ab0a4448b87 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Thu, 29 Aug 2019 18:44:56 -0500 Subject: [PATCH] Now explicitly adds PATH dirs to DLL search path --- IPA.Loader/Loader/LibLoader.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IPA.Loader/Loader/LibLoader.cs b/IPA.Loader/Loader/LibLoader.cs index c235a945..826a1b85 100644 --- a/IPA.Loader/Loader/LibLoader.cs +++ b/IPA.Loader/Loader/LibLoader.cs @@ -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); } }