Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.Powershell/Erode-Bottom.ps1')
-rw-r--r--UVtools.Powershell/Erode-Bottom.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Powershell/Erode-Bottom.ps1 b/UVtools.Powershell/Erode-Bottom.ps1
index 84bce80..527b8aa 100644
--- a/UVtools.Powershell/Erode-Bottom.ps1
+++ b/UVtools.Powershell/Erode-Bottom.ps1
@@ -78,7 +78,7 @@ $inputFile = read-host "Enter input file"
$inputFile = $null
}
else {
- $slicerFile = [UVtools.Core.FileFormats.FileFormat]::FindByExtension($inputFile, $true, $true)
+ $slicerFile = [UVtools.Core.FileFormats.FileFormat]::FindByExtensionOrFilePath($inputFile, $true)
if(!$slicerFile){
Write-host "Invalid file format, re-enter."
$inputFile = $null