mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add check that shouldn't need to be checked
Somehow on tests, the temp folder would render itself unfindable, and thus made the program crash.
This commit is contained in:
@@ -95,7 +95,10 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Delete the temp directory
|
||||
Directory.Delete(_tempDir, true);
|
||||
if (Directory.Exists(_tempDir))
|
||||
{
|
||||
Directory.Delete(_tempDir, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Order the roms by name of parent, then name of rom
|
||||
|
||||
Reference in New Issue
Block a user