Skip to content

Commit

Permalink
fix(scrcpy): correct version in 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yume-chan committed Dec 31, 2024
1 parent ab98953 commit 4d5b803
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions libraries/adb/src/server/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export class AdbServerTransport implements AdbTransport {
for (const socket of this.#sockets) {
await socket.close();
}
this.#sockets.length = 0;
this.#closed.resolve();
}
}
13 changes: 9 additions & 4 deletions libraries/scrcpy/src/2_1_1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export {
ScrcpyOptions2_1 as ScrcpyOptions2_1_1,
ScrcpyOptions2_1Impl as ScrcpyOptions2_1_1Impl,
} from "./2_1/index.js";
import { ScrcpyOptions2_1 } from "./2_1/index.js";

export class ScrcpyOptions2_1_1 extends ScrcpyOptions2_1 {
constructor(init: ScrcpyOptions2_1.Init, version = "2.1.1") {
super(init, version);
}
}

export { ScrcpyOptions2_1Impl as ScrcpyOptions2_1_1Impl } from "./2_1/index.js";

0 comments on commit 4d5b803

Please sign in to comment.