mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Normalize file path in CLI (fixes #826)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
- Fix typo for L1Toolstamp!.Label (bikerspade)
|
||||
- Update redumper to build 549
|
||||
- Allow max speed dumping ("0")
|
||||
- Normalize file path in CLI
|
||||
|
||||
### 3.3.0 (2025-01-03)
|
||||
|
||||
|
||||
@@ -104,6 +104,10 @@ namespace MPF.CLI
|
||||
return;
|
||||
}
|
||||
|
||||
// Normalize the file path
|
||||
if (opts.FilePath != null)
|
||||
opts.FilePath = Path.GetFullPath(opts.FilePath);
|
||||
|
||||
// Get the speed from the options
|
||||
int speed = opts.DriveSpeed ?? FrontendTool.GetDefaultSpeedForMediaType(mediaType, options);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user