@echo off
title taco setup
echo(
echo   ============================================
echo     taco - install + plugins + login (all automatic)
echo   ============================================
echo(
echo   Installs taco, sets up plugins for the AI tools on this PC,
echo   and logs you in. A browser window will open for login.
echo   If Windows shows a security prompt, choose "More info" -^> "Run anyway".
echo(
powershell -NoProfile -ExecutionPolicy Bypass -Command "$p=Join-Path $env:TEMP 'taco-install.ps1'; try { Invoke-WebRequest -Uri 'https://inf.run/taco.ps1' -OutFile $p -UseBasicParsing; & $p -Setup } catch { Write-Host ('[error] ' + $_.Exception.Message) }"
echo(
echo   All done. You can close this window.
echo   Dashboard: https://taco.inflearn.com
pause >nul
