@mearl/native-host 2.15.1 → 2.15.3

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.
Files changed (3) hide show
  1. package/README.md +1 -7
  2. package/dist/index.js +19 -19
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -53,13 +53,7 @@ mearl-native-host [options]
53
53
  --help, -h 查看帮助
54
54
  ```
55
55
 
56
- 手工以显式 CDP/浏览器参数启动 daemon 时,native-host 会把解析后的参数写入 `~/.mearl/config.json` 的 `nativeHost.daemon` 字段。之后 client 自动拉起 daemon 时会复用这些参数:
57
-
58
- ```bash
59
- mearl-native-host --daemon --cdp-port 9222 --browser-name sandbox-chromium
60
- ```
61
-
62
- 不带显式 CDP/浏览器参数的 `--daemon` 不会覆盖已保存的配置。
56
+ daemon 参数只对当前进程生效。client 自动拉起 discovery daemon 时固定探测默认的本地 CDP 端口 9222;自定义 CDP 端口或浏览器标识需要在每次手工启动时显式传入。
63
57
 
64
58
  ## 架构
65
59