Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Update playground.yml

RustDeskfe513dd96709
diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml
index 94fc4a3fc..b52a66385 100644
--- a/.github/workflows/playground.yml
+++ b/.github/workflows/playground.yml
@@ -114,7 +114,8 @@ jobs:
shell: bash
run: |
cargo install flutter_rust_bridge_codegen --version ${{ env.FLUTTER_RUST_BRIDGE_VERSION }} --features "uuid"
- pushd flutter/lib; find . | grep dart | xargs sed -i 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g'; popd;
+ # below works for mac
+ pushd flutter/lib; > find . -name "*.dart" | xargs -I{} sed -i '' 's/textScaler: TextScaler.linear(\(.*\)),/textScaleFactor: \1,/g' {}; popd;
pushd flutter && flutter pub get && popd
~/.cargo/bin/flutter_rust_bridge_codegen --rust-input ./src/flutter_ffi.rs --dart-output ./flutter/lib/generated_bridge.dart --c-output ./flutter/macos/Runner/bridge_generated.h