This commit is contained in:
n00mkrad
2022-06-04 12:43:48 +02:00
parent 2a3fe9a88f
commit eb174ade38
8 changed files with 92 additions and 44 deletions

View File

@@ -756,6 +756,9 @@ namespace Flowframes.IO
public static bool CreateDir (string path) // Returns whether the dir already existed
{
if (string.IsNullOrWhiteSpace(path))
return false;
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);