From 2796e9e40fb0f75d4755e35c9afd24ca12868e78 Mon Sep 17 00:00:00 2001 From: Jonathan Bayer Date: Fri, 15 Nov 2019 14:19:05 -0500 Subject: [PATCH] typo --- ModuleBounce/InstallChecker.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ModuleBounce/InstallChecker.cs b/ModuleBounce/InstallChecker.cs index bc547f9d..374bc34c 100644 --- a/ModuleBounce/InstallChecker.cs +++ b/ModuleBounce/InstallChecker.cs @@ -42,7 +42,7 @@ internal class InstallChecker : MonoBehaviour { private const string MODNAME = "SXT"; private const string FOLDERNAME = "SXT"; - private const string EXPECTEDPATH = FOLDERNAME + "/PlugIns"; + private const string EXPECTEDPATH = FOLDERNAME + "/Plugns"; protected void Start() { @@ -50,6 +50,8 @@ protected void Start() var assemblies = AssemblyLoader.loadedAssemblies.Where(a => a.assembly.GetName().Name == Assembly.GetExecutingAssembly().GetName().Name).Where(a => a.url != EXPECTEDPATH); if (assemblies.Any()) { + var badPaths = assemblies.Select(a => a.path).Select(p => Uri.UnescapeDataString(new Uri(Path.GetFullPath(KSPUtil.ApplicationRootPath)).MakeRelativeUri(new Uri(p)).ToString().Replace('/', Path.DirectorySeparatorChar))); + PopupDialog.SpawnPopupDialog ( new Vector2(0.5f, 0.5f),