Skip to content

Commit

Permalink
⬆️ upgrade flutter
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Sep 29, 2024
1 parent 74c06f6 commit d1e307f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ jobs:
flutter pub get
flutter config --enable-windows-desktop
flutter build windows
cd build/windows/runner/Release
Compress-Archive * ../../../../build/windows.zip
cd ../../../..
cd build/windows/x64/runner/Release
Compress-Archive * ../../../../../build/windows.zip
cd ../../../../..
- name: Build (macos)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.target == 'macos'
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,16 @@ daisy

![](https://raw.githubusercontent.com/fzyzcjy/flutter_rust_bridge/master/book/logo.png)

### 如何构建

1. 安装flutter, rust-lang
2. 安装相应平台SDK <br />
1). cmake, ninja, pkg-config等开发工具 (windows/linux)<br />
2). 安装 xcode(macOS/iOS/) <br />
3). android studio, android SDK 等开发工具 (android) <br />
3. 安装`flutter_rust_bridge` 运行 `cargo install flutter_rust_bridge` <br />
4. `flutter run`

### 如何开发调试

阅读flutter_rust_bridge的文档, 了解如何在flutter中调用rust代码.

0 comments on commit d1e307f

Please sign in to comment.