From 1d15901304e363612bd7f632ea1f2235b175411e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 31 Dec 2025 01:26:22 -0800 Subject: [PATCH] fix process health stats --- archivebox/plugins/chrome/chrome_utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archivebox/plugins/chrome/chrome_utils.js b/archivebox/plugins/chrome/chrome_utils.js index d840e0f6..02288067 100755 --- a/archivebox/plugins/chrome/chrome_utils.js +++ b/archivebox/plugins/chrome/chrome_utils.js @@ -882,7 +882,8 @@ async function loadOrInstallExtension(ext, extensions_dir = null) { } // Determine extensions directory - const EXTENSIONS_DIR = extensions_dir || process.env.CHROME_EXTENSIONS_DIR || './data/chrome_extensions'; + // Use provided dir, or fall back to getExtensionsDir() which handles env vars and defaults + const EXTENSIONS_DIR = extensions_dir || getExtensionsDir(); // Set statically computable extension metadata ext.webstore_id = ext.webstore_id || ext.id;