UNPKG

@yume-chan/adb-scrcpy

Version:

Use `@yume-chan/adb` to bootstrap `@yume-chan/scrcpy`.

18 lines 581 B
import { ScrcpyOptions1_16 } from "@yume-chan/scrcpy"; import { createConnection, getDisplays } from "./1_15/impl/index.js"; export class AdbScrcpyOptions1_16 extends ScrcpyOptions1_16 { version; spawner; constructor(init, clientOptions) { super(init); this.version = clientOptions?.version ?? "1.16"; this.spawner = clientOptions?.spawner; } getDisplays(adb, path) { return getDisplays(adb, path, this); } createConnection(adb) { return createConnection(adb, this.value); } } //# sourceMappingURL=1_16.js.map