mirror of
https://github.com/Ryujinx/Ryujinx.CustomTasks.git
synced 2024-12-22 19:45:40 +00:00
GenArray: Create output directory if it doesn't exist
This commit is contained in:
parent
fbec10052c
commit
c89f982527
|
@ -182,6 +182,11 @@ namespace Ryujinx.CustomTasks
|
||||||
string arraysFilePath = Path.Combine(OutputPath, ArraysFileName);
|
string arraysFilePath = Path.Combine(OutputPath, ArraysFileName);
|
||||||
List<int> arraySizes = new List<int>();
|
List<int> arraySizes = new List<int>();
|
||||||
|
|
||||||
|
if (!Directory.Exists(OutputPath))
|
||||||
|
{
|
||||||
|
Directory.CreateDirectory(OutputPath);
|
||||||
|
}
|
||||||
|
|
||||||
foreach (var item in InputFiles)
|
foreach (var item in InputFiles)
|
||||||
{
|
{
|
||||||
string fullPath = item.GetMetadata("FullPath");
|
string fullPath = item.GetMetadata("FullPath");
|
||||||
|
|
Loading…
Reference in a new issue