This commit is contained in:
Markus Fleschutz
2021-04-21 20:03:25 +02:00
parent 855251d922
commit 1a9fdfb337
16 changed files with 16 additions and 16 deletions

View File

@ -10,7 +10,7 @@ if ($IsLinux) {
} else {
$TargetDir = resolve-path "C:/"
}
if (-not(test-path "$TargetDir" -pathType leaf)) {
if (-not(test-path "$TargetDir" -pathType container)) {
write-warning "Sorry, directory 📂$TargetDir is missing"
exit 1
}