File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ rsync -a ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery/
220
220
1. We' ll build the asset bundle for `flutter_gallery` and deploy it using `rsync` in this example.
221
221
` ` ` bash
222
222
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
224
224
cd flutter_gallery
225
225
git checkout 681e399ba983631ba9e20590fe7a6121731825f1
226
226
flutter build bundle
@@ -244,8 +244,7 @@ rsync -a ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery/
244
244
--strip \
245
245
--sim-use-hardfp \
246
246
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/
249
248
exit
250
249
` ` `
251
250
3. Done. You can now run this app in release mode using ` flutter-pi --release /home/pi/flutter_gallery` .
You can’t perform that action at this time.
0 commit comments