chrome-ai-bridge 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/browser.js +5 -0
- package/package.json +1 -1
package/build/src/browser.js
CHANGED
|
@@ -579,6 +579,11 @@ export async function launch(options) {
|
|
|
579
579
|
args.push('--start-minimized');
|
|
580
580
|
console.error('📋 Added --start-minimized for background mode');
|
|
581
581
|
}
|
|
582
|
+
// All platforms: Add --no-startup-window for background mode
|
|
583
|
+
if (!focus && !effectiveHeadless) {
|
|
584
|
+
args.push('--no-startup-window');
|
|
585
|
+
console.error('📋 Added --no-startup-window for background mode');
|
|
586
|
+
}
|
|
582
587
|
try {
|
|
583
588
|
browser = await puppeteer.launch({
|
|
584
589
|
...connectOptions,
|
package/package.json
CHANGED