-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.ps1
More file actions
26 lines (21 loc) · 757 Bytes
/
Copy pathsetup.ps1
File metadata and controls
26 lines (21 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Fusengine Codex Plugins - Quick Setup for Windows
# Run: .\setup.ps1
$ErrorActionPreference = "Stop"
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
Write-Host "Fusengine Codex Plugins Setup (Windows)" -ForegroundColor Cyan
# Check Bun
if (-not (Get-Command bun -ErrorAction SilentlyContinue)) {
Write-Host "Bun not found. Install from https://bun.sh" -ForegroundColor Red
exit 1
}
# Check codex CLI (optional but recommended)
if (-not (Get-Command codex -ErrorAction SilentlyContinue)) {
Write-Host "codex CLI not found in PATH (installer will fall back to config.toml patch)" -ForegroundColor Yellow
}
Push-Location $ScriptDir
try {
bun install
bun run scripts/install-codex.ts $args
} finally {
Pop-Location
}