-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLAUNCH_ARCHITECT.bat
More file actions
34 lines (28 loc) · 904 Bytes
/
LAUNCH_ARCHITECT.bat
File metadata and controls
34 lines (28 loc) · 904 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
27
28
29
30
31
32
33
34
@echo off
setlocal EnableExtensions EnableDelayedExpansion
title AI Architect
chcp 65001 >nul 2>&1
set "PROJECT_ROOT=%~dp0"
set "WEBAPP_DIR=%PROJECT_ROOT%webapp"
echo.
echo AI Architect - Electron Dev
echo ============================
echo.
REM --------------------------------------------------
REM Sanity check
REM --------------------------------------------------
if not exist "%WEBAPP_DIR%\package.json" (
echo [ERROR] Webapp not found at: %WEBAPP_DIR%
pause
exit /b 1
)
REM --------------------------------------------------
REM Launch Electron app (starts Vite dev server + Electron window)
REM ComfyUI can be launched from within the app via the Launch panel.
REM --------------------------------------------------
echo [1/1] Starting AI Architect...
echo Vite dev server + Electron window will open automatically.
echo.
cd /d "%WEBAPP_DIR%"
pnpm electron:dev
endlocal