Pre-clean file path in CLI interactive mode

This commit is contained in:
Matt Nadareski
2025-05-04 11:14:46 -04:00
parent 85cde67d0a
commit 1476972c26
2 changed files with 7 additions and 1 deletions

View File

@@ -38,6 +38,7 @@
- Normalize Shift-JIS characters, when possible
- Update to DIC 20250501
- Update RedumpLib to 1.6.6
- Pre-clean file path in CLI interactive mode
### 3.3.0 (2025-01-03)

View File

@@ -333,7 +333,12 @@ namespace MPF.CLI
Console.WriteLine();
Console.WriteLine("Input the file path and press Enter:");
Console.Write("> ");
opts.FilePath = Console.ReadLine();
result = Console.ReadLine();
if (result.Length > 0)
result = Path.GetFullPath(result);
opts.FilePath = result;
goto root;
overrideSpeed: