fix VersionManager not using CRAWL4_AI_BASE_DIRECTORY

This commit is contained in:
Vladimir Mandic
2025-07-12 17:40:34 -04:00
committed by GitHub
parent bde1bba6a2
commit 83b323f13a

View File

@@ -226,7 +226,7 @@ def merge_chunks(
class VersionManager:
def __init__(self):
self.home_dir = Path.home() / ".crawl4ai"
self.home_dir = Path(os.getenv("CRAWL4_AI_BASE_DIRECTORY", Path.home()))
self.version_file = self.home_dir / "version.txt"
def get_installed_version(self):