mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
A blank directory can cause issues
This commit is contained in:
@@ -44,6 +44,12 @@ namespace SabreTools
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If it's empty, use the current folder
|
||||||
|
if (_outdir.Trim() == "")
|
||||||
|
{
|
||||||
|
_outdir = Environment.CurrentDirectory;
|
||||||
|
}
|
||||||
|
|
||||||
// If the output directory doesn't exist, create it
|
// If the output directory doesn't exist, create it
|
||||||
if (!Directory.Exists(_outdir))
|
if (!Directory.Exists(_outdir))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user