mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-08-07 09:23:04 +08:00
fix(baoyu-post-to-x): respect Chrome plugin mode
This commit is contained in:
@@ -218,6 +218,7 @@ async function launchChromeOnce(
|
||||
|
||||
try {
|
||||
await waitForChromeDebugPort(port, 30_000, { includeLastError: true });
|
||||
chrome.unref();
|
||||
return { chrome, port };
|
||||
} catch (error) {
|
||||
killChrome(chrome);
|
||||
|
||||
Reference in New Issue
Block a user