Explorar o código

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

Co-authored-by: あく <alleteam@gmail.com>
Danil Kalashnikov %!s(int64=3) %!d(string=hai) anos
pai
achega
0ab14c37c9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      scripts/toolchain/windows-toolchain-download.ps1

+ 2 - 2
scripts/toolchain/windows-toolchain-download.ps1

@@ -36,11 +36,11 @@ Add-Type -Assembly "System.IO.Compression.Filesystem"
 # Expand-Archive -LiteralPath "$toolchain_zip_temp_path" -DestinationPath "$download_dir"
 
 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 -NoNewline "Cleaning up temporary files.."
 Remove-Item -LiteralPath "$toolchain_zip_temp_path" -Force
 Write-Host "done!"
 
-# dasdasd
+# dasdasd