#!/usr/bin/env bash
:; exec bash "$(dirname "$0")/lib/install-posix.sh" "$@"
@echo off
setlocal
set "WKBASH=%ProgramFiles%\Git\bin\bash.exe"
if not exist "%WKBASH%" set "WKBASH=%ProgramFiles(x86)%\Git\bin\bash.exe"
if not exist "%WKBASH%" echo [wkcode] Git for Windows bash.exe not found. Install Git for Windows, then rerun this installer ^(wkcode install^) & exit /b 1
"%WKBASH%" "%~dp0lib\install-posix.sh" %*
exit /b %ERRORLEVEL%
