Skip to content

Commit 9a9e099

Browse files
authored
fix engine binaries reference
- fixes #159
1 parent 440ca51 commit 9a9e099

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ rsync -a ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery/
220220
1. We'll build the asset bundle for `flutter_gallery` and deploy it using `rsync` in this example.
221221
```bash
222222
git clone https://github.com/flutter/gallery.git flutter_gallery
223-
git clone https://github.com/ardera/flutter-pi -b engine-binaries engine-binaries
223+
git clone --depth 1 https://github.com/ardera/flutter-engine-binaries-for-arm.git engine-binaries
224224
cd flutter_gallery
225225
git checkout 681e399ba983631ba9e20590fe7a6121731825f1
226226
flutter build bundle
@@ -244,8 +244,7 @@ rsync -a ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery/
244244
--strip \
245245
--sim-use-hardfp \
246246
build/kernel_snapshot.dill
247-
mv ./build/app.so ./build/flutter_assets/
248-
rsync -a --info=progress2 ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery
247+
rsync -a --info=progress2 ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery/
249248
exit
250249
```
251250
3. Done. You can now run this app in release mode using `flutter-pi --release /home/pi/flutter_gallery`.

0 commit comments

Comments
 (0)