X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=bat%2Finstall.ps1;h=5b79cc91f001e2bda39d305486e105615ba83e22;hb=a3a17a929c99cffb85888efb12a22aa744639ecb;hp=a4acba399a94b40d97f545c25a33e878ed0fc430;hpb=7fd81bbd903eb097d4897ea3a9d5030123ce735a;p=webi-installers%2F.git diff --git a/bat/install.ps1 b/bat/install.ps1 index a4acba3..5b79cc9 100644 --- a/bat/install.ps1 +++ b/bat/install.ps1 @@ -27,8 +27,8 @@ IF (!(Test-Path -Path "$Env:USERPROFILE\.local\xbin\$VERNAME")) 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" - & dir + & move "$EXENAME" "$VERNAME" + # Settle unpacked archive into place echo "New Name: $VERNAME"