- Remove-Item -Path ".\shfmt-v*" -Recurse -ErrorAction Ignore
- Remove-Item -Path ".\shfmt.exe" -Recurse -ErrorAction Ignore
-
- echo "Unpacking $pkg_download"
- & tar xf "$pkg_download"
+ # Move single binary into root of temporary folder
+ & move "$Env:USERPROFILE\Downloads\webi\$Env:WEBI_PKG_FILE" "shfmt.exe"