mirror of
https://github.com/massgravel/massgrave.dev.git
synced 2024-11-23 15:00:54 +07:00
Fix accent character issue in Path
This commit is contained in:
parent
f268429d21
commit
a71e142fbc
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user