feat(scrcpy-server): separate package, add support for Vite

This commit is contained in:
Simon Chan 2023-06-27 15:29:35 +08:00
parent 419a7559fe
commit 9b0e06cdfb
No known key found for this signature in database
GPG key ID: 8F75717685A974FB
34 changed files with 4717 additions and 2588 deletions

View file

@ -0,0 +1,6 @@
import { BIN, VERSION } from "@yume-chan/fetch-scrcpy-server";
console.log(VERSION);
fetch(BIN)
.then((res) => res.arrayBuffer())
.then(console.log);