examples: update README

This commit is contained in:
Hajime Hoshi 2021-12-13 11:55:08 +09:00
parent 9787e076bc
commit 12b5a6c3d6

View File

@ -3,7 +3,7 @@
## Desktops
```sh
go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate
go run -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
```
## Android
@ -11,13 +11,13 @@ go run -tags=example github.com/hajimehoshi/ebiten/examples/rotate
Install [gomobile](https://pkg.go.dev/golang.org/x/mobile/cmd/gomobile) first.
```sh
gomobile install -tags=example github.com/hajimehoshi/ebiten/examples/rotate
gomobile install -tags=example github.com/hajimehoshi/ebiten/v2/examples/rotate
```
## iOS
```sh
gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/examples/rotate
gomobile build -target=ios -tags=example -work github.com/hajimehoshi/ebiten/v2/examples/rotate
```
Then, open the `WORK` directory, open `main.xcodeproj`, add signing, and run the project.