echo "Unpacking $Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
& tar xf "$Env:USERPROFILE\Downloads\$Env:WEBI_PKG_FILE"
# Move single binary into root of temporary folder
- & move "bat.exe" "$VERNAME"
+ & move "$EXENAME" "$VERNAME"
& dir
# Settle unpacked archive into place
# $HOME/.local/xbin
mkdir -p "$pkg_src_bin"
- # mv ./bat-*/bat "$HOME/.local/xbin/bat-v0.15.4"
+ # mv ./bat-*/bat "$HOME/.local/opt/bat-v0.15.4/bin/bat"
mv ./bat-*/bat "$pkg_src_cmd"
# chmod a+x "$HOME/.local/xbin/rg-v11.1.0"
# $HOME/.local/
mkdir -p "$pkg_src_bin"
- # mv ./hexyl-*/hexyl "$HOME/.local/opt/hexyl-v0.8.0/bin/hexyl-v0.8.0"
+ # mv ./hexyl-*/hexyl "$HOME/.local/opt/hexyl-v0.8.0/bin/hexyl"
mv ./hexyl-*/hexyl "$pkg_src_cmd"
# chmod a+x "$HOME/.local/xbin/rg-v11.1.0"