mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 02:39:26 +02:00
feat(scrcpy-server): separate package, add support for Vite
This commit is contained in:
parent
419a7559fe
commit
9b0e06cdfb
34 changed files with 4717 additions and 2588 deletions
6
libraries/fetch-scrcpy-server/examples/vite/index.js
Normal file
6
libraries/fetch-scrcpy-server/examples/vite/index.js
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue