update comments
[webi-installers/.git] / bat / install.ps1
index a4acba399a94b40d97f545c25a33e878ed0fc430..6360ede3ff8a75114c1c59ac4c5cbe5c4b974a0e 100644 (file)
@@ -27,7 +27,7 @@ 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"
+        & move "$EXENAME" "$VERNAME"
         & dir
 
         # Settle unpacked archive into place