X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;ds=sidebyside;f=bat%2Finstall.ps1;h=bc9976951a0891d0f994792aa2f80905f4ecf334;hb=a217150c172d705f42f8645fb18235af5be60c33;hp=a4acba399a94b40d97f545c25a33e878ed0fc430;hpb=7fd81bbd903eb097d4897ea3a9d5030123ce735a;p=webi-installers%2F.git diff --git a/bat/install.ps1 b/bat/install.ps1 index a4acba3..bc99769 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"