mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DATFromDir] Make sure temp folder exists
This commit is contained in:
@@ -295,6 +295,12 @@ namespace SabreTools
|
||||
tempdir += (tempdir.EndsWith(Path.DirectorySeparatorChar.ToString()) ? "" : Path.DirectorySeparatorChar.ToString());
|
||||
tempdir += "__temp__" + Path.DirectorySeparatorChar;
|
||||
|
||||
// Create the temporary directory
|
||||
if (!Directory.Exists(tempdir))
|
||||
{
|
||||
Directory.CreateDirectory(tempdir);
|
||||
}
|
||||
|
||||
// Special case for if we are in Romba mode (all names are supposed to be SHA-1 hashes)
|
||||
if (_datdata.Romba)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user