diff --git a/pythonlib/camoufox/launchServer.js b/pythonlib/camoufox/launchServer.js index 90a0aa2..ea56e79 100644 --- a/pythonlib/camoufox/launchServer.js +++ b/pythonlib/camoufox/launchServer.js @@ -13,7 +13,7 @@ function collectData() { }); process.stdin.on('end', () => { - resolve(JSON.parse(data)); + resolve(JSON.parse(Buffer.from(data, "base64").toString())); }); }); } @@ -37,4 +37,4 @@ collectData().then((options) => { }).catch((error) => { console.error('Error collecting data:', error.message); process.exit(1); // Exit with error code -}); \ No newline at end of file +});