Skip to content

Commit a1f0268

Browse files
authored
Merge pull request #111 from jpnurmi/readme-rsync
Fix rsync instructions in README.md
2 parents f95da4b + c5af22e commit a1f0268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ flutter build bundle
8282

8383
Then just upload the asset bundle to your Raspberry Pi. `pi@raspberrypi` is of course just an example `<username>@<hostname>` combination, your need to substitute your username and hostname there.
8484
```bash
85-
$ rsync -a --info=progress2 ./build/flutter_assets pi@raspberrypi:/home/pi/flutter_gallery_assets
85+
$ rsync -a --info=progress2 ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery_assets
8686
```
8787

8888
### Building the `app.so` (for running your app in Release/Profile mode)
@@ -126,7 +126,7 @@ $ ~/engine-binaries/gen_snapshot_linux_x64 \
126126
```
127127
5. Upload the asset bundle and the `app.so` to your Raspberry Pi. Flutter-pi expects the `app.so` to be located inside the asset bundle directory.
128128
```bash
129-
$ rsync -a --info=progress2 ./build/flutter_assets pi@raspberrypi:/home/pi/flutter_gallery_assets
129+
$ rsync -a --info=progress2 ./build/flutter_assets/ pi@raspberrypi:/home/pi/flutter_gallery_assets
130130
$ scp ./build/app.so pi@raspberrypi:/home/pi/flutter_gallery_assets/app.so
131131
```
132132
6. When starting your app, make sure you invoke flutter-pi with the `--release` flag.

0 commit comments

Comments
 (0)