Open
Description
I have camoufox installed at /usr/bin/camoufox, and set the LaunchOptions["executable_path"] to /usr/bin/camoufox
but pkgman is looking for it at /username/.cache/camoufox. Is there anything else needed to have it pick up this non-standard executable path location?
const { Camoufox } = await import("camoufox-js")
const camoufoxConfig = {
headless: true,
humanize: true,
debug: false,
timeout: 60000,
executable_path: '/usr/bin/camoufox'
};
browser = await Camoufox(config)
# throws
Uncaught:
FileNotFoundError: Version information not found at /username/.cache/camoufox/version.json. Please run `camoufox fetch` to install.
at Version.fromPath (file:///var/task/node_modules/camoufox-js/dist/pkgman.js:74:19)
at installedVerStr (file:///var/task/node_modules/camoufox-js/dist/pkgman.js:238:20)
at launchOptions (file:///var/task/node_modules/camoufox-js/dist/utils.js:337:26)
at NewBrowser (file:///var/task/node_modules/camoufox-js/dist/sync_api.js:19:29)
at Camoufox (file:///var/task/node_modules/camoufox-js/dist/sync_api.js:6:12)