Ejemplo n.º 1
0
        public static void InitSettings()
        {
            Logger.LogInit(GetLogFilename());

            Plugins.Load(AppHost.Instance, GKUtils.GetPluginsPath());

            var options = GlobalOptions.Instance;

            options.LoadFromFile(GetAppDataPathStatic() + "GEDKeeper2.ini");
            options.FindLanguages();

            NamesTable.LoadFromFile(GetAppDataPathStatic() + "GEDKeeper2.nms");

            PathReplacer.Load(GKUtils.GetAppPath() + "crossplatform.yaml"); // FIXME: path
        }
Ejemplo n.º 2
0
 public void SetUp()
 {
     fPathReplacer = new PathReplacer();
 }