diff --git a/pythonlib/camoufox/utils.py b/pythonlib/camoufox/utils.py index 44e93f8..8542b02 100644 --- a/pythonlib/camoufox/utils.py +++ b/pythonlib/camoufox/utils.py @@ -69,7 +69,7 @@ def _generate_fontconfig(fontconfig_path: str) -> str: f'{fonts_dir}', ) - cache_dir = os.path.join(os.path.expanduser('~'), '.cache', 'camoufox', 'fontconfig') + cache_dir = get_path('fontconfig') os.makedirs(cache_dir, exist_ok=True) content_hash = hashlib.sha256(conf_content.encode()).hexdigest()[:12]