diff API/WarFoundryHacks.cs @ 481:81f32062c9fa

Re #419: Remove assumptions of a file-based install * Convert schemas to resources and load them from there * Remove use of "data" folder relative to exe location from default "Hacks" (GTK/WinForms GUIs can re-add it locally)
author IBBoard <dev@ibboard.co.uk>
date Mon, 25 Jun 2012 21:04:02 +0100
parents 1a632b133606
children 4d6c92744254
line wrap: on
line diff
--- a/API/WarFoundryHacks.cs	Wed May 23 21:00:33 2012 +0100
+++ b/API/WarFoundryHacks.cs	Mon Jun 25 21:04:02 2012 +0100
@@ -19,7 +19,7 @@
 		public static void Initialise()
 		{
 			//Set default data path - should be a preference
-			WarFoundryLoader.GetDefault().AddLoadDirectory(new DirectoryInfo(Path.Combine(Constants.ExecutablePath, "data")));
+			//WarFoundryLoader.GetDefault().AddLoadDirectory(new DirectoryInfo(Path.Combine(Constants.ExecutablePath, "data")));
 			//Make sure we have at least one loader - should be controlled by plugins
 			WarFoundryLoader.GetDefault().RegisterFactory(WarFoundryXmlFactory.GetFactory());
 			//Make sure we have a way to save files - should be controlled by plugins