UNPKG

@yume-chan/adb-scrcpy

Version:

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

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