Config: Fix error when computerconfig dir does not exist
This commit is contained in:
parent
321c8fe498
commit
ed78d93def
@ -116,6 +116,8 @@ Public Class ConfigManager(Of T)
|
||||
If ComputerConfigPath <> String.Empty Then
|
||||
If IO.File.Exists(ComputerConfigPath) Then
|
||||
_ComputerDirectory = _File.CreateDirectory(ComputerConfigPath, False)
|
||||
Else
|
||||
_ComputerDirectory = ComputerConfigPath
|
||||
End If
|
||||
_ComputerConfigPath = Path.Combine(_ComputerDirectory, COMPUTER_CONFIG_NAME)
|
||||
End If
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user