Add config migrator
This commit is contained in:
parent
54bb1bb451
commit
b18eedf701
@ -22,6 +22,9 @@ Public Class ClassInit
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Sub InitConfig()
|
Public Sub InitConfig()
|
||||||
|
Dim oMigrator = New ConfigUtils(LOGCONFIG)
|
||||||
|
oMigrator.MigrateAppDataConfig(Application.UserAppDataPath, Application.ProductName, "Global Indexer")
|
||||||
|
|
||||||
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
|
CONFIG = New ConfigManager(Of ClassConfig)(LOGCONFIG, Application.UserAppDataPath, Application.CommonAppDataPath, Application.StartupPath)
|
||||||
LOGCONFIG.Debug = CONFIG.Config.LogDEBUG
|
LOGCONFIG.Debug = CONFIG.Config.LogDEBUG
|
||||||
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
|
LOGGER.Info("Debug log set to: [{0}]", LOGCONFIG.Debug)
|
||||||
|
|||||||
@ -610,7 +610,7 @@
|
|||||||
<value>DocumentViewer1</value>
|
<value>DocumentViewer1</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>DocumentViewer1.Type" xml:space="preserve">
|
<data name=">>DocumentViewer1.Type" xml:space="preserve">
|
||||||
<value>DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=1.9.1.0, Culture=neutral, PublicKeyToken=null</value>
|
<value>DigitalData.Controls.DocumentViewer.DocumentViewer, DigitalData.Controls.DocumentViewer, Version=1.9.2.0, Culture=neutral, PublicKeyToken=null</value>
|
||||||
</data>
|
</data>
|
||||||
<data name=">>DocumentViewer1.Parent" xml:space="preserve">
|
<data name=">>DocumentViewer1.Parent" xml:space="preserve">
|
||||||
<value>SplitContainer1.Panel2</value>
|
<value>SplitContainer1.Panel2</value>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user