fix web build

This commit is contained in:
rustdesk 2022-05-18 01:54:39 +08:00
parent dc8b38f1af
commit 102fb7dd2b

View File

@ -15,13 +15,14 @@ cd rustdesk/flutter/web/js
npm install ts-proto npm install ts-proto
yarn build yarn build
# about details of yuv converter, check this https://github.com/rustdesk/rustdesk/issues/364#issuecomment-1023562050 cd ..
# download libs to flutter/web/libs # about details of yuv converter, check this https://github.com/rustdesk/rustdesk/issues/364#issuecomment-1023562050
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
cd ..
# Good Luck! # Good Luck!
flutter run -d chrome flutter run -d chrome
``` ```