16 lines
407 B
Batchfile
16 lines
407 B
Batchfile
@echo off
|
|
setlocal
|
|
chcp 65001 >nul
|
|
title HM Design System - Portable Test Preview
|
|
if not exist "%~dp0runtime\node\node.exe" (
|
|
echo ERROR: Bundled runtime is missing. Extract the complete ZIP first.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
echo.
|
|
echo The actual Storybook and Dashboard addresses will be printed by the server below.
|
|
echo.
|
|
"%~dp0runtime\node\node.exe" "%~dp0preview-server.cjs"
|
|
if errorlevel 1 pause
|
|
endlocal
|