UNPKG

@yume-chan/adb-scrcpy

Version:

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

18 lines 579 B
import { ScrcpyOptions1_17 } from "@yume-chan/scrcpy"; import { createConnection, getDisplays } from "./impl/index.js"; export class AdbScrcpyOptions1_17 extends ScrcpyOptions1_17 { version; spawner; constructor(init, clientOptions) { super(init); this.version = clientOptions?.version ?? "1.17"; this.spawner = clientOptions?.spawner; } getDisplays(adb, path) { return getDisplays(adb, path, this); } createConnection(adb) { return createConnection(adb, this.value); } } //# sourceMappingURL=options.js.map