Update cd-templates.ps1

This commit is contained in:
Markus Fleschutz 2023-01-03 12:06:27 +01:00
parent 7213c99d05
commit 06655b3d1d

View File

@ -16,7 +16,7 @@ try {
if ($IsLinux) { if ($IsLinux) {
$Path = Resolve-Path "~/Templates" $Path = Resolve-Path "~/Templates"
} else { } else {
$Path = [Environment]::GetFolderPath('CommonTemplates') $Path = [Environment]::GetFolderPath('Templates')
} }
if (Test-Path "$Path" -pathType container) { if (Test-Path "$Path" -pathType container) {
Set-Location "$Path" Set-Location "$Path"