feat(adb-scrcpy): forward clipboard stream to client

This commit is contained in:
Simon Chan 2025-01-02 23:24:52 +08:00
parent 52b198a6cd
commit d51ac8dac9
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
"@yume-chan/adb-scrcpy": minor
---
Forward `clipboard` stream from options class to `AdbScrcpyClient`

View file

@ -301,6 +301,10 @@ export class AdbScrcpyClient {
return this.#controller;
}
get clipboard(): ReadableStream<string> | undefined {
return this.#options.clipboard;
}
constructor({
options,
process,