Add start script for Windows

This commit is contained in:
pleb
2026-07-11 15:26:20 -07:00
parent 77a15daeda
commit 861ce587f3
5 changed files with 52 additions and 20 deletions
+25
View File
@@ -0,0 +1,25 @@
@echo off
setlocal
cd /d "%~dp0"
if not exist ".venv\Scripts\python.exe" (
echo Creating virtual environment...
py -m venv .venv
if errorlevel 1 (
echo Failed to create virtual environment.
exit /b 1
)
)
echo Installing plugin-helper...
".venv\Scripts\python.exe" -m pip install -e .
if errorlevel 1 (
echo Failed to install plugin-helper.
exit /b 1
)
".venv\Scripts\python.exe" -m plugin_helper
set EXIT_CODE=%ERRORLEVEL%
endlocal & exit /b %EXIT_CODE%