Allow for output folder argument, bump version

This commit is contained in:
Deterous
2024-02-01 10:55:23 +09:00
parent 4116c56b7d
commit e9bb0ae00a
4 changed files with 9 additions and 3 deletions
+6
View File
@@ -668,7 +668,13 @@ namespace IRDKit
return null;
}
// Determine IRD path if only folder given
if (Directory.Exists(irdPath))
irdPath = Path.Combine(irdPath, Path.GetFileName(Path.ChangeExtension(isoPath, ".ird")));
// Determine IRD path if none given
if (irdPath == string.Empty)
irdPath = Path.GetFileName(Path.ChangeExtension(isoPath, ".ird"));
irdPath ??= Path.ChangeExtension(isoPath, ".ird");
// Create new reproducible redump-style IRD with a given hex key