Set archive paths accordingly

This commit is contained in:
Manuel Thalmann 2023-08-01 12:35:40 +02:00
parent 978cf399b3
commit 32fc311f8e

View file

@ -172,6 +172,8 @@ class Context {
} }
[void] Restore([string]$archivePath, [string]$destinationPath) { [void] Restore([string]$archivePath, [string]$destinationPath) {
$archivePath = "$archivePath.001";
if (-not (Test-Path -PathType Leaf $archivePath)) { if (-not (Test-Path -PathType Leaf $archivePath)) {
Write-Information ( Write-Information (
[string]::Join( [string]::Join(