Files
CodeWhale Bot be676502df feat(release): single-binary packaging follow-ups (5259/5260)
Complete 5259 single-binary sweep for packaging/docs: remove
codewhale-tui from .cnb.yml, nix, npm bin, installer, bundles,
locales, and docs/INSTALL matrix; add .winget + packaging/ manifests
(single-binary 27-asset inventory, FreeBSD source-build note) and
update release-artifacts comments from 34 to 27 assets. 27-asset
inventory verified via assemble-release-assets --verify.

Co-Authored-By: internal-model
2026-08-07 06:14:45 -07:00

39 lines
1.1 KiB
Batchfile

@echo off
setlocal enabledelayedexpansion
:: CodeWhale Windows installer
:: Copies codewhale.exe and codew.exe to %USERPROFILE%\bin (single binary, no codewhale-tui.exe)
set "BIN_DIR=%USERPROFILE%\bin"
set "SCRIPT_DIR=%~dp0"
if not exist "%BIN_DIR%" mkdir "%BIN_DIR%"
echo Installing codewhale to %BIN_DIR%...
copy /Y "%SCRIPT_DIR%codewhale.exe" "%BIN_DIR%\codewhale.exe" >nul
if %ERRORLEVEL% neq 0 (
echo ERROR: Failed to copy codewhale.exe
exit /b 1
)
copy /Y "%SCRIPT_DIR%codew.exe" "%BIN_DIR%\codew.exe" >nul
if %ERRORLEVEL% neq 0 (
echo ERROR: Failed to copy codew.exe
exit /b 1
)
echo.
echo Done. Commands installed to %BIN_DIR%.
echo.
echo Add %BIN_DIR% to your PATH:
echo 1. Open Start, search "environment variables"
echo 2. Click "Environment Variables..."
echo 3. Under "User variables", select "Path" and click "Edit"
echo 4. Click "New" and add: %BIN_DIR%
echo 5. Click OK, then restart your terminal
echo.
echo Or run this in an admin PowerShell:
echo [Environment]::SetEnvironmentVariable('Path', [Environment]::GetEnvironmentVariable('Path', 'User') + ';%BIN_DIR%', 'User')
echo.
echo Then run: codewhale