hotfix: directory init fixes & installer file naming system
This commit is contained in:
@@ -50,11 +50,11 @@ namespace CarManagerV3
|
||||
{
|
||||
try
|
||||
{
|
||||
//string directory = Path.GetDirectoryName(path);
|
||||
string directory = Path.GetDirectoryName(path);
|
||||
Console.WriteLine($"Initializing file and folders for path: {path}");
|
||||
if (!Directory.Exists(path))
|
||||
if (!Directory.Exists(directory))
|
||||
{
|
||||
Directory.CreateDirectory(path);
|
||||
Directory.CreateDirectory(directory);
|
||||
}
|
||||
if(!folderOnly) InitializeFile(path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user