strnad / CrewAI-Studio

A user-friendly, multi-platform GUI for managing and running CrewAI agents and tasks. Supports Conda and virtual environments, no coding needed.
207 stars 45 forks source link

Update run_venv.bat #16

Closed CryptoContact closed 2 months ago

CryptoContact commented 2 months ago

Key Differences: Path Specification: Version 1 explicitly uses %SCRIPT_DIR%db to ensure the correct path is checked and deleted. Version 2 assumes the 'db' directory exists in the current working directory without explicitly using %SCRIPT_DIR%.

Directory Context: Version 1 ensures operations (IF EXIST, rmdir) are performed relative to SCRIPT_DIR. Version 2 relies on the current working directory context, which may vary depending on where the script is executed from.

strnad commented 2 months ago

thank you :)