mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-12-04 16:51:48 +01:00
fix create outputFile name for RDR 2
This commit is contained in:
parent
4cc95309a2
commit
4d15094dbe
1 changed files with 5 additions and 5 deletions
10
Commands.cs
10
Commands.cs
|
|
@ -50,11 +50,11 @@ internal static partial class Commands {
|
|||
File.Move(tempFile, outputFile, true);
|
||||
}
|
||||
else {
|
||||
outputFile = $"{photo.Format switch {
|
||||
PhotoFormat.GTA5 => "PGTA5",
|
||||
PhotoFormat.RDR2 => "PRDR3",
|
||||
_ => String.Empty
|
||||
}}{uid}";
|
||||
outputFile = photo.Format switch {
|
||||
PhotoFormat.GTA5 => $"PGTA5{uid}",
|
||||
PhotoFormat.RDR2 => $"PRDR3{uid}_1",
|
||||
_ => $"{uid}"
|
||||
};
|
||||
File.Move(tempFile, outputFile, true);
|
||||
Console.WriteLine(outputFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue