UNPKG

@yume-chan/adb-scrcpy

Version:

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

21 lines 675 B
import { ScrcpyOptions1_25 } from "@yume-chan/scrcpy"; import { createConnection, getDisplays, getEncoders, } from "./1_22/impl/index.js"; export class AdbScrcpyOptions1_25 extends ScrcpyOptions1_25 { version; spawner; constructor(init, clientOptions) { super(init); this.version = clientOptions?.version ?? "1.25"; this.spawner = clientOptions?.spawner; } getEncoders(adb, path) { return getEncoders(adb, path, this); } getDisplays(adb, path) { return getDisplays(adb, path, this); } createConnection(adb) { return createConnection(adb, this.value); } } //# sourceMappingURL=1_25.js.map