mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Pre-clean file path in CLI interactive mode
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user