update web build

add small
This commit is contained in:
csf 2022-05-17 23:02:52 +08:00
parent 7eff2be8da
commit 87fb72e634

View File

@ -7,19 +7,21 @@ Run below on Linux or Mac
Currently, yuv converter and vp9 are the bottleneck
```
```sh
git clone https://github.com/rustdesk/rustdesk
cd rustdesk/flutter/web/js
# install protoc first http://google.github.io/proto-lens/installing-protoc.html
npm install ts-proto
yarn build
cp dist/assets/*js ../assets/
# update index.html with above generated js
vi ../index.html
cd ..
# about details of yuv converter, check this https://github.com/rustdesk/rustdesk/issues/364#issuecomment-1023562050
# download libs to flutter/web/libs
cd ../libs
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/web_deps.tar.gz
tar xzf web_deps.tar.gz
# Good Luck!
flutter run -d chrome
```