mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-28 01:49:26 +01:00
commit
dc8b38f1af
@ -7,19 +7,21 @@ Run below on Linux or Mac
|
|||||||
|
|
||||||
Currently, yuv converter and vp9 are the bottleneck
|
Currently, yuv converter and vp9 are the bottleneck
|
||||||
|
|
||||||
```
|
```sh
|
||||||
git clone https://github.com/rustdesk/rustdesk
|
git clone https://github.com/rustdesk/rustdesk
|
||||||
cd rustdesk/flutter/web/js
|
cd rustdesk/flutter/web/js
|
||||||
|
|
||||||
# install protoc first http://google.github.io/proto-lens/installing-protoc.html
|
# install protoc first http://google.github.io/proto-lens/installing-protoc.html
|
||||||
npm install ts-proto
|
npm install ts-proto
|
||||||
yarn build
|
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
|
# 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
|
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/web_deps.tar.gz
|
||||||
tar xzf web_deps.tar.gz
|
tar xzf web_deps.tar.gz
|
||||||
|
|
||||||
# Good Luck!
|
# Good Luck!
|
||||||
flutter run -d chrome
|
flutter run -d chrome
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user