Skip to content

Commit

Permalink
add Windows build package step
Browse files Browse the repository at this point in the history
  • Loading branch information
sunhuachuang committed Apr 16, 2021
1 parent 1d8423d commit 058baf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ It is recommended to use [rust.sh](./rust.sh) to auto-compile the Rust code

##### Windows
- `cp target/release/esse.dll core/windows/share/esse.dll`
- `cp target/release/esse.dll.lib core/windows/share/esse.dll.lib`

##### Android
1. Add your android device target
Expand Down
1 change: 1 addition & 0 deletions rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function windows() {
cargo build --release ### there maybe not use in other windows distribution.
echo 'Rust: windows release build ok!'
cp target/release/esse.dll core/windows/share/esse.dll
cp target/release/esse.dll.lib core/windows/share/esse.dll.lib
echo 'Flutter: windows dynamic library is ok!'
}

Expand Down

0 comments on commit 058baf0

Please sign in to comment.