Browse Source

add Windows build package step

pull/6/head v0.1.0
Sun 4 years ago
parent
commit
058baf097d
  1. 1
      README.md
  2. 1
      rust.sh

1
README.md

@ -40,6 +40,7 @@ It is recommended to use [rust.sh](./rust.sh) to auto-compile the Rust code @@ -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

1
rust.sh

@ -52,6 +52,7 @@ function windows() { @@ -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!'
}

Loading…
Cancel
Save