Start: Fix startup with new argparser

Since the full argparser requires pydantic, gate it until all dependencies
are installed.

Also if the venv is deleted, assume that start_options.json is invalid
as well.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-09-21 14:33:15 -04:00
parent 16abaf0922
commit 3c8384ee71
4 changed files with 79 additions and 22 deletions

View file

@ -12,6 +12,11 @@ if exist "%CONDA_PREFIX%" (
if not exist "venv\" (
echo Venv doesn't exist! Creating one for you.
python -m venv venv
if exist "start_options.json" (
echo Removing old start_options.json
del start_options.json
)
)
call .\venv\Scripts\activate.bat