From 46dc76de4e9dbf04b5da71889a313aa1b1e7049e Mon Sep 17 00:00:00 2001 From: Syping Date: Sun, 23 Nov 2025 04:33:27 +0100 Subject: [PATCH] simplify current directory handling --- Commands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Commands.cs b/Commands.cs index c8fce47..52f2ed4 100644 --- a/Commands.cs +++ b/Commands.cs @@ -49,11 +49,11 @@ internal static partial class Commands { File.Move(tempFile, outputFile, true); } else { - outputFile = Path.Join(Environment.CurrentDirectory, $"{photo.Format switch { + outputFile = $"{photo.Format switch { PhotoFormat.GTA5 => "PGTA5", PhotoFormat.RDR2 => "PRDR3", _ => String.Empty - }}{uid}"); + }}{uid}"; File.Move(tempFile, outputFile, true); Console.WriteLine(outputFile); }