Refactor make paragraph code and conv file path

This commit is contained in:
2026-03-30 21:14:26 +09:00
parent 22d896543c
commit 4c85b4b606
2 changed files with 31 additions and 35 deletions
+11
View File
@@ -62,4 +62,15 @@ class Utilities
}
return path;
}
public static string GetTempConvertedImagesFolderPath()
{
// get converted files directory path and create it if necessary
var convertedDir = Path.Combine(Utilities.GetInternalDataPath(), "converted");
if (!Directory.Exists(convertedDir))
{
Directory.CreateDirectory(convertedDir);
}
return convertedDir;
}
}