More config cleanup in LaunchSLClient.

This commit is contained in:
Jeff Ames
2008-05-01 17:26:35 +00:00
parent a0ccb1235a
commit 138e612300
5 changed files with 29 additions and 14 deletions

View File

@@ -51,5 +51,12 @@ namespace LaunchSLClient
Registry.LocalMachine.Flush();
Registry.LocalMachine.Close();
}
public override string GetConfigDir()
{
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\OpenSim\OpenSim");
return key == null ? "" : key.GetValue("Path").ToString();
}
}
}