From 87fb72e634d9eb2c00b005844e452c78927ee648 Mon Sep 17 00:00:00 2001 From: csf Date: Tue, 17 May 2022 23:02:52 +0800 Subject: [PATCH] update web build add small --- content/dev/build/web/_index.en.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/content/dev/build/web/_index.en.md b/content/dev/build/web/_index.en.md index 498fe67..d8d6435 100644 --- a/content/dev/build/web/_index.en.md +++ b/content/dev/build/web/_index.en.md @@ -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 ```