From 89e01e75e14742b4aabdb42a6828908e6a3daa5d Mon Sep 17 00:00:00 2001 From: Scionwest_cp Date: Sun, 15 Nov 2009 12:19:24 -0800 Subject: [PATCH] MUDDesigner: * Added _InstallLocation field within Program.cs so changing the solutions install path is easier when the #DEBUG is defined. --- MudDesigner/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MudDesigner/Program.cs b/MudDesigner/Program.cs index 9c8b689..1ba4f4b 100644 --- a/MudDesigner/Program.cs +++ b/MudDesigner/Program.cs @@ -8,6 +8,9 @@ namespace MudDesigner static class Program { static frmMain MudHUB; + + internal static string _InstallLocation = @"C:\CodePlex\MudDesigner\"; + /// /// The main entry point for the application. /// @@ -28,7 +31,7 @@ namespace MudDesigner //If running in debug mode we need to hard-code the paths as during normal running of the apps //all of the apps are running within the Apps directory. #if DEBUG - string[] apps = System.IO.Directory.GetFiles(@"C:\CodePlex\MudDesigner\", "*.exe", System.IO.SearchOption.AllDirectories); + string[] apps = System.IO.Directory.GetFiles(_InstallLocation, "*.exe", System.IO.SearchOption.AllDirectories); List legalApps = new List(); foreach (string app in apps)