fix(baoyu-post-to-x): respect Chrome plugin mode

This commit is contained in:
Jim Liu 宝玉
2026-05-10 02:49:42 -05:00
parent 076192d58e
commit 5f753dd584
4 changed files with 164 additions and 36 deletions
@@ -218,6 +218,7 @@ async function launchChromeOnce(
try {
await waitForChromeDebugPort(port, 30_000, { includeLastError: true });
chrome.unref();
return { chrome, port };
} catch (error) {
killChrome(chrome);