Add -Force flag to expand-archive
@@ -49,7 +49,7 @@ $progressPreference = 'silentlyContinue'
Invoke-WebRequest -Uri "$assetsURL/$version/flow-cli-$version-windows-amd64.zip" -UseBasicParsing -OutFile "$directory\flow.zip"
-Expand-Archive -Path "$directory\flow.zip" -DestinationPath "$directory"
+Expand-Archive -Path "$directory\flow.zip" -DestinationPath "$directory" -Force
Move-Item -Path "$directory\flow-cli.exe" -Destination "$directory\flow.exe" -Force
