rustdesk/flutter/run.sh

9 lines
273 B
Bash
Executable File

#!/usr/bin/env bash
dart pub global activate ffigen --version 5.0.1
flutter pub get
# call `flutter clean` if cargo build fails
# export LLVM_HOME=/Library/Developer/CommandLineTools/usr/
RUN_FFIGEN=Y cargo build --features "flutter,flutter_texture_render"
flutter run $@