use commonappdata
This commit is contained in:
parent
7a2ff1a978
commit
dddb80e0ab
@ -25,7 +25,7 @@ Public Class frmMain
|
||||
Try
|
||||
MyLogConfig = New LogConfig(LogConfig.PathType.AppData)
|
||||
MyLogger = MyLogConfig.GetLogger()
|
||||
MyConfig = New ConfigManager(Of UserConfig)(MyLogConfig, Application.UserAppDataPath)
|
||||
MyConfig = New ConfigManager(Of UserConfig)(MyLogConfig, Application.CommonAppDataPath)
|
||||
|
||||
LoadConfig(MyConfig)
|
||||
|
||||
@ -1068,7 +1068,8 @@ Public Class frmMain
|
||||
End Sub
|
||||
|
||||
Private Sub btnOpenConfigDir_Click(sender As Object, e As EventArgs) Handles btnOpenConfigDir.Click
|
||||
Process.Start(Application.UserAppDataPath())
|
||||
Dim oConfigDir = IO.Directory.GetParent(MyConfig.UserConfigPath).FullName
|
||||
Process.Start(oConfigDir)
|
||||
End Sub
|
||||
|
||||
Private Sub btnOpenLogDir_Click(sender As Object, e As EventArgs) Handles btnOpenLogDir.Click
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user