diff options
| author | DESKTOP-RBH716R\Admin | 2022-07-27 17:16:09 +0000 |
|---|---|---|
| committer | DESKTOP-RBH716R\Admin | 2022-07-27 17:16:09 +0000 |
| commit | a71e142fbcda61fb843ea98356af6de4ce247cc4 (patch) | |
| tree | 748fdc3ccb7a548efad0a8e3c7137cfc178eaac2 | |
| parent | f268429d2171d49d931dbd21c486928e1d667416 (diff) | |
| download | massgrave.dev-a71e142fbcda61fb843ea98356af6de4ce247cc4.zip | |
Fix accent character issue in Path
| -rw-r--r-- | _site/get.ps1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/_site/get.ps1 b/_site/get.ps1 index 6915aab..60b61a5 100644 --- a/_site/get.ps1 +++ b/_site/get.ps1 @@ -12,7 +12,8 @@ try { Return
}
-if (Test-Path -LiteralPath $FilePath) {
+if (Test-Path $FilePath) {
Start-Process $FilePath -Wait
- Remove-Item -LiteralPath $FilePath -Force
+ $item = Get-Item -LiteralPath $FilePath
+ $item.Delete()
}
|
