fbt: add missing Force flag when moving toolchain from temp path (#2044)

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Danil Kalashnikov 2022-11-29 20:31:32 +07:00 committed by GitHub
parent b70395eba9
commit 0ab14c37c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ Add-Type -Assembly "System.IO.Compression.Filesystem"
# Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir" # Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir"
Write-Host -NoNewline "moving.." Write-Host -NoNewline "moving.."
Move-Item -LiteralPath "$toolchain_dist_temp_path" -Destination "$toolchain_target_path" Move-Item -LiteralPath "$toolchain_dist_temp_path" -Destination "$toolchain_target_path" -Force
Write-Host "done!" Write-Host "done!"
Write-Host -NoNewline "Cleaning up temporary files.." Write-Host -NoNewline "Cleaning up temporary files.."